Fakultas Ilmu Komputer UI

Commit 679321b1 authored by Ryan Karyadiputera's avatar Ryan Karyadiputera
Browse files

test3

parent 10fdd0a4
Pipeline #76878 failed with stage
in 1 minute and 26 seconds
......@@ -32,7 +32,7 @@ BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
SECRET_KEY = env('DJANGO_SECRET_KEY')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = True
# HOST_URL = os.getenv('HOST_URL')
......
......@@ -13,8 +13,6 @@ https://docs.djangoproject.com/en/3.0/ref/settings/
import environ
import os
from datetime import timedelta
import mimetypes
mimetypes.add_type("text/css", ".css", True)
# Environ Setup
......@@ -225,10 +223,10 @@ JWT_AUTH = {
'JWT_AUTH_COOKIE': None,
}
SUCCESS_SSO_AUTH_REDIRECT = "http://sipraktikum-frontend-2020-a.herokuapp.com/"
SUCCESS_SSO_AUTH_REDIRECT = "http://ppl-berkah.herokuapp.com/"
CORS_ORIGIN_WHITELIST = [
"http://sipraktikum-frontend-2020-a.herokuapp.com",
"http://ppl-berkah.herokuapp.com/",
"http://localhost:8000",
"http://127.0.0.1:8000",
]
......
......@@ -11,6 +11,6 @@ import os
from django.core.wsgi import get_wsgi_application
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'sip.settings.staging')
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'sip.settings.production')
application = get_wsgi_application()
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment