Skip to content

Commit 5cf01ef

Browse files
author
khemPha
committed
add image to status folder
1 parent 7475738 commit 5cf01ef

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

server/djangoproj/settings.py

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,16 @@
2828
# SECURITY WARNING: don't run with debug turned on in production!
2929
DEBUG = True
3030

31-
ALLOWED_HOSTS = ['localhost', 'https://khempha69636-8000.theiadockernext-1-labs-prod-theiak8s-4-tor01.proxy.cognitiveclass.ai/']
32-
CSRF_TRUSTED_ORIGINS = ['https://khempha69636-8000.theiadockernext-1-labs-prod-theiak8s-4-tor01.proxy.cognitiveclass.ai/']
31+
ALLOWED_HOSTS = [
32+
'localhost',
33+
'khempha69636-8000.theiadockernext-1-labs-prod-theiak8s-4-tor01.proxy.'
34+
'cognitiveclass.ai',
35+
]
3336

37+
CSRF_TRUSTED_ORIGINS = [
38+
'https://khempha69636-8000.theiadockernext-1-labs-prod-theiak8s-4-tor01.'
39+
'proxy.cognitiveclass.ai',
40+
]
3441
REST_FRAMEWORK = {
3542
'DEFAULT_AUTHENTICATION_CLASSES': [],
3643
}

0 commit comments

Comments
 (0)