mirror of
https://github.com/wassname/IndicoIo-python.git
synced 2026-08-03 12:30:41 +08:00
Passing in a root_url variable and pulling config from environment variables
This commit is contained in:
committed by
Madison May
parent
a1621e8531
commit
6b9251f4f5
+3
-2
@@ -1,2 +1,3 @@
|
||||
local_api_root = "http://localhost:9438/"
|
||||
api_root = "http://apiv1.indico.io/"
|
||||
import os
|
||||
|
||||
api_root = os.getenv("INDICO_PRIVATE_CLOUD_URL") or "http://apiv1.indico.io/"
|
||||
|
||||
Reference in New Issue
Block a user