diff --git a/docker-compose.yml b/docker-compose.yml index 650dcf9..ddcb1de 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,9 +1,7 @@ -# docker-compose.yaml version: '3.9' services: web: - #image: aktas/indianpong:latest build: context: . dockerfile: Dockerfile diff --git a/indianpong/indianpong/settings.py b/indianpong/indianpong/settings.py index 507459b..a90d575 100644 --- a/indianpong/indianpong/settings.py +++ b/indianpong/indianpong/settings.py @@ -28,11 +28,13 @@ BASE_URL = environ.get("BASE_URL", default='https://localhost:8443') -ALLOWED_HOSTS = ['indianpong.onrender.com', 'localhost', '127.0.0.1']#environ.get("ALLOWED_HOSTS", default="").split(" ") +ALLOWED_HOSTS = ['indianpong.onrender.com', 'localhost', '127.0.0.1', 'indianpongu.onrender.com']#environ.get("ALLOWED_HOSTS", default="").split(" ") CSRF_TRUSTED_ORIGINS = [ 'https://indianpong.onrender.com', 'http://indianpong.onrender.com', + 'https://indianpongu.onrender.com', + 'http://indianpongu.onrender.com', 'https://127.0.0.1:8443', 'https://localhost:8443', 'http://localhost:8000',