We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b0f5235 + 4dcc42e commit 11d0f71Copy full SHA for 11d0f71
1 file changed
api/main.py
@@ -137,13 +137,7 @@ def get_size_limit(category: str) -> int:
137
138
app = FastAPI(title='Cosmos API', openapi_tags=tags_metadata)
139
140
-origins = [
141
- "http://localhost",
142
- "http://localhost:8000",
143
- "http://127.0.0.1",
144
- "http://127.0.0.1:8000",
145
- "https://cosmos-api-two.vercel.app/",
146
-]
+origins = ["*"]
147
148
app.add_middleware(
149
CORSMiddleware,
0 commit comments