From 0af51a2f70e781678312530cd8fa5020e73593a5 Mon Sep 17 00:00:00 2001 From: Joong-Won Seo Date: Tue, 21 Nov 2023 13:11:15 +0100 Subject: [PATCH] update readme and allow all CORS origin just in case --- README.md | 3 ++- python/app/main.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0e4dcf2..cbb6b16 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,8 @@ Docker compose should be working: ```bash docker-compose up ``` -...but right now it doesn't on my machine. So, you can run the server and the client separately: + +Just in case it doesn't, you can run the services individually. ```bash cd nextjs diff --git a/python/app/main.py b/python/app/main.py index a805aa5..8fd088e 100644 --- a/python/app/main.py +++ b/python/app/main.py @@ -17,8 +17,8 @@ app = FastAPI(title="Ducky", docs_url="/") origins = [ - # '*' - "http://localhost:3000", + '*' + # "http://localhost:3000", # "http://localhost:8080", ]