summaryrefslogtreecommitdiff
path: root/api/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'api/main.py')
-rw-r--r--api/main.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/api/main.py b/api/main.py
index 4afe0d5..b61d975 100644
--- a/api/main.py
+++ b/api/main.py
@@ -4,6 +4,7 @@ from .routers import get
app = FastAPI()
+# To make it reachable from anywhere on web
origins = ["*"]
app.add_middleware(
CORSMiddleware,