Prepare backend for deployment

This commit is contained in:
keannu125 2023-03-10 12:44:14 +08:00
parent 72130ca09a
commit 4dc7f6bb8d

View file

@ -136,8 +136,8 @@ REST_FRAMEWORK = {
) )
} }
DOMAIN = 'localhost:3000' DOMAIN = 'localhost:3000/Ivy'
SITE_NAME = 'localhost:3000' SITE_NAME = 'localhost:3000/Ivy'
DJOSER = { DJOSER = {
'SEND_ACTIVATION_EMAIL': True, 'SEND_ACTIVATION_EMAIL': True,
@ -157,4 +157,5 @@ EMAIL_PORT = '2525'
CORS_ALLOWED_ORIGINS = [ CORS_ALLOWED_ORIGINS = [
"http://localhost:3000", "http://localhost:3000",
"http://localhost:8000", "http://localhost:8000",
"https://lemeow125.github.io",
] ]