From 50b6bfd2f152866a9710f8ba0470d11b09beed49 Mon Sep 17 00:00:00 2001 From: "raoha.rh" Date: Wed, 10 Apr 2024 13:18:03 +0800 Subject: [PATCH] chore: test github token --- server/main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/server/main.py b/server/main.py index 57f9586e..66503c05 100644 --- a/server/main.py +++ b/server/main.py @@ -27,7 +27,10 @@ @app.get("/") def read_root(): - return {"Hello": "World"} + return { + "Hello": "World", + "GithubToken": os.getenv('GITHUB_TOKEN') + } @app.post("/api/dall-e") def run_img_generator(input_data: DalleData):