|
|
@@ -22,7 +22,7 @@ def startup(): # start the project, and create the tables |
|
|
|
|
|
|
|
origins = ["*"] |
|
|
|
app = startup() |
|
|
|
app.add_middleware(CORSMiddleware, allow_origins=origins, allow_credentials=True, allow_methods=["*"], allow_headers=["*"]) |
|
|
|
app.add_middleware(CORSMiddleware, allow_origins=origins, allow_credentials=True, allow_methods=["*"], allow_headers=["*"], expose_headers=["*"]) |
|
|
|
|
|
|
|
# Testing stuff |
|
|
|
@app.get("/") |
|
|
|