From 1407b1a3af5bc69675d8993aebd231cbdac7a7d7 Mon Sep 17 00:00:00 2001 From: timofejmalinin Date: Sat, 18 Feb 2023 21:12:37 +0400 Subject: [PATCH] fix email_url --- docker-compose.yml | 1 + postamates/settings.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index f25816c..cd27149 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,6 +33,7 @@ services: environment: <<: *postgres-variables <<: *django-variables + <<: *frontend-variables volumes: - .:/code - ./django_static/:/code/django_static/ diff --git a/postamates/settings.py b/postamates/settings.py index 229a088..d83c7f2 100644 --- a/postamates/settings.py +++ b/postamates/settings.py @@ -156,7 +156,7 @@ EMAIL_PORT = 587 #new EMAIL_HOST_USER = 'noreply@spatiality.website' #new EMAIL_HOST_PASSWORD = "spatialitypass321" #new EMAIL_USE_TLS = True #new -FRONTEND_URL = 'https://app.property.spatiality.website/' +FRONTEND_URL = os.getenv('REACT_APP_DOMAIN_URL', 'http://localhost:3000/') REST_REGISTRATION = { 'REGISTER_VERIFICATION_ENABLED': True, 'RESET_PASSWORD_VERIFICATION_ENABLED': False,