Madiwka 1 anno fa
parent
commit
e8d5be8ff0
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      app/main.py

+ 1
- 1
app/main.py Vedi File

@@ -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("/")


Caricamento…
Annulla
Salva