File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 11import os
22
33domain_root = os .environ .get ('DOMAIN_ROOT' , 'rebble.io' )
4+ http_protocol = os .environ .get ('HTTP_PROTOCOL' , 'https' )
45
56config = {
67 'DOMAIN_ROOT' : domain_root ,
78 'SQLALCHEMY_DATABASE_URI' : os .environ ['DATABASE_URL' ],
89 'PBW_ROOT' : os .environ .get ('PBW_ROOT' , f'http://pbws.{ domain_root } /pbw' ),
910 'IMAGE_ROOT' : os .environ .get ('IMAGE_ROOT' , f'https://assets.rebble.io' ),
1011 'APPSTORE_ROOT' : os .environ .get ('APPSTORE_ROOT' , f'http://apps.{ domain_root } ' ),
11- 'REBBLE_AUTH_URL' : os .environ .get ('REBBLE_AUTH_URL' , f'http ://auth.{ domain_root } ' ),
12+ 'REBBLE_AUTH_URL' : os .environ .get ('REBBLE_AUTH_URL' , f" { http_protocol } ://auth.{ domain_root } " ),
1213 'ALGOLIA_APP_ID' : os .environ .get ('ALGOLIA_APP_ID' ),
1314 'ALGOLIA_ADMIN_API_KEY' : os .environ .get ('ALGOLIA_ADMIN_API_KEY' ),
1415 'ALGOLIA_INDEX' : os .environ .get ('ALGOLIA_INDEX' ),
You can’t perform that action at this time.
0 commit comments