backend: fix get X-Seed
This commit is contained in:
parent
ed1f7c9e28
commit
40d845cc3c
@ -127,6 +127,7 @@ def api_middleware(app: FastAPI):
|
|||||||
"allow_headers": ["*"],
|
"allow_headers": ["*"],
|
||||||
"allow_origins": ["*"],
|
"allow_origins": ["*"],
|
||||||
"allow_credentials": True,
|
"allow_credentials": True,
|
||||||
|
"expose_headers": ["X-Seed"]
|
||||||
}
|
}
|
||||||
app.add_middleware(CORSMiddleware, **cors_options)
|
app.add_middleware(CORSMiddleware, **cors_options)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user