# Environment
* refactors settings into env usage * adds proxy usage for schneider parcel fetching (using public web address instead of internal ip address)
This commit is contained in:
@@ -5,9 +5,10 @@ Contact: michel.peltriaux@sgdnord.rlp.de
|
||||
Created on: 31.01.22
|
||||
|
||||
"""
|
||||
from konova.sub_settings.django_settings import env
|
||||
|
||||
# SSO settings
|
||||
SSO_SERVER_BASE = "http://127.0.0.1:8000/"
|
||||
SSO_SERVER_BASE = env("SSO_SERVER_BASE_URL")
|
||||
SSO_SERVER = f"{SSO_SERVER_BASE}sso/"
|
||||
SSO_PRIVATE_KEY = "CHANGE_ME"
|
||||
SSO_PUBLIC_KEY = "CHANGE_ME"
|
||||
SSO_PRIVATE_KEY = env("SSO_PRIVATE_KEY")
|
||||
SSO_PUBLIC_KEY = env("SSO_PUBLIC_KEY")
|
||||
|
||||
Reference in New Issue
Block a user