diff options
| author | seth <[email protected]> | 2023-04-23 02:29:59 -0400 |
|---|---|---|
| committer | seth <[email protected]> | 2023-04-23 02:29:59 -0400 |
| commit | 740cff7a2fb641c4f26673710459b8bc86f448ab (patch) | |
| tree | 3fd5a4158603946866eda9063d53cb731bd41fdd /src | |
| parent | ee17bbadfed47af24572919d143f260c9c57bb36 (diff) | |
feat: use env variables for host
Diffstat (limited to 'src')
| -rw-r--r-- | src/guzzle_api/api.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/guzzle_api/api.py b/src/guzzle_api/api.py index 41d120d..180ceb6 100644 --- a/src/guzzle_api/api.py +++ b/src/guzzle_api/api.py @@ -4,7 +4,9 @@ from fastapi.staticfiles import StaticFiles from guzzle_api import lib from guzzle_api.teawie import lib as teawie -URL = "http://198.199.68.30/api/api" +import os + +URL = os.getenv("URL") TEAWIE_STATIC_ENDPOINT = "/static/teawie" app = FastAPI() |
