change port in producution
This commit is contained in:
parent
3b0a63aae8
commit
48c6d51c4d
Binary file not shown.
@ -82,11 +82,12 @@ MIDDLEWARE = [
|
||||
|
||||
# CORS
|
||||
|
||||
CORS_ALLOW_ALL_ORIGINS=True
|
||||
|
||||
CORS_ALLOWED_ORIGINS = ['http://localhost:8000', 'http://141.136.42.178:8001', 'http://141.136.42.178:8002', 'http://141.136.42.178:80', 'http://lilandco42.com',
|
||||
'http://127.0.0.1:8002', 'http://localhost:8001', 'http://192.168.1.18:8000']
|
||||
CSRF_TRUSTED_ORIGINS = ['http://localhost:8000', 'http://141.136.42.178:8001', 'http://141.136.42.178:8002', 'http://141.136.42.178:80', 'http://lilandco42.com',
|
||||
'http://127.0.0.1:8002', 'http://localhost:8001', 'http://192.168.1.18:8000']
|
||||
CORS_ALLOW_ALL_ORIGINS=True
|
||||
CORS_ALLOW_HEADERS = [
|
||||
"accept",
|
||||
"accept-encoding",
|
||||
@ -216,6 +217,7 @@ ACCOUNT_UNIQUE_USERNAME = True
|
||||
OLD_PASSWORD_FIELD_ENABLED = False
|
||||
LOGOUT_ON_PASSWORD_CHANGE = False
|
||||
|
||||
LOGIN_URL = '/login'
|
||||
|
||||
REST_FRAMEWORK = {
|
||||
'DATETIME_FORMAT': "%m/%d/%Y %I:%M%P", 'DEFAULT_AUTHENTICATION_CLASSES': ['rest_framework.authentication.TokenAuthentication',
|
||||
@ -250,3 +252,6 @@ LOGGING = {
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
NEXT_PUBLIC_HOSTNAME=141.136.42.178
|
||||
PORT=8000
|
||||
PORT=80
|
||||
NEXT_PUBLIC_HOST=http://$NEXT_PUBLIC_HOSTNAME:$PORT
|
||||
|
Loading…
Reference in New Issue
Block a user