update settings

This commit is contained in:
Parsa Nazer
2024-12-25 23:04:56 +03:30
parent a22c9d6bca
commit 28cda9772e
2 changed files with 7 additions and 8 deletions
+7 -7
View File
@@ -2,11 +2,11 @@
DEBUG = True # keep debug true to set the database to sqlite
# postgres database info
DB_NAME = ''
DB_USER = ''
DB_PASSWORD = ''
DB_HOST = ''
DB_PORT = ''
DB_NAME = 'hshop'
DB_USER = 'byeto'
DB_PASSWORD = 'vuhbyq-cypMu0-sirbon'
DB_HOST = 'db'
DB_PORT = '5434'
SECRET_KEY = '2h&gmi54wqauwqht48l-9c)r6_67_(oe_$ll%(+xz%u#)+of@d'
# email stuff
EMAIL_BACKEND = ''
@@ -17,9 +17,9 @@ DEFAULT_FROM_EMAIL = ''
# telegram bot toekn
TELEGRAM_BOT_TOKEN = ''
# domain for allowed host and allowed cors
DOMAIN = ''
DOMAIN = '38.60.202.91'
# domain for api (the domain that django will use)
API_DOMAIN = ''
API_DOMAIN = '38.60.202.91'
SITE_TITLE = ''
SITE_HEADER = ''
# jwt token configs
-1
View File
@@ -41,7 +41,6 @@ if not DEBUG:
]
CORS_ALLOWED_ORIGINS = [f"https://{API_DOMAIN}", f"http://{API_DOMAIN}",
f"http://{DOMAIN}", f"https://{DOMAIN}", ]
# database postgres
DATABASES = {
'default': {