being picky
This commit is contained in:
parent
f391616dd2
commit
849b9454d7
1 changed files with 2 additions and 2 deletions
|
@ -9,8 +9,8 @@ api.add_middleware(
|
||||||
CORSMiddleware,
|
CORSMiddleware,
|
||||||
allow_origins=['*'],
|
allow_origins=['*'],
|
||||||
allow_credentials=True,
|
allow_credentials=True,
|
||||||
allow_methods=["*"],
|
allow_methods=["GET"],
|
||||||
allow_headers=["*"],
|
allow_headers=[],
|
||||||
)
|
)
|
||||||
|
|
||||||
class Article(BaseModel):
|
class Article(BaseModel):
|
||||||
|
|
Loading…
Add table
Reference in a new issue