|
@@ -22,7 +22,7 @@ def startup(): # start the project, and create the tables |
|
|
|
|
|
|
|
|
origins = ["*"] |
|
|
origins = ["*"] |
|
|
app = startup() |
|
|
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 |
|
|
# Testing stuff |
|
|
@app.get("/") |
|
|
@app.get("/") |
|
|