Skip to content

Commit dcc6968

Browse files
author
khemPha
committed
2 parents f4900ff + 5b20b1b commit dcc6968

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

server/djangoapp/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
backend_url = http://localhost:3030
1+
backend_url = https://khempha69636-3030.theiadockernext-1-labs-prod-theiak8s-4-tor01.proxy.cognitiveclass.ai
22
sentiment_analyzer_url= https://sentianalyzer.1x1iwekqmyi2.us-south.codeengine.appdomain.cloud

server/djangoproj/settings.py

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

31-
ALLOWED_HOSTS = []
32-
CSRF_TRUSTED_ORIGINS = []
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/']
3333

3434
REST_FRAMEWORK = {
3535
'DEFAULT_AUTHENTICATION_CLASSES': [],

0 commit comments

Comments
 (0)