fix(backend): fixed cors
This commit is contained in:
parent
1b51ea41fb
commit
7632cf4104
@ -31,10 +31,10 @@ app = FastAPI(
|
|||||||
origins = [
|
origins = [
|
||||||
"http://localhost",
|
"http://localhost",
|
||||||
"http://localhost:3000",
|
"http://localhost:3000",
|
||||||
"http://localhost:8000",
|
"http://localhost:8000/*",
|
||||||
"http://127.0.0.1",
|
"http://127.0.0.1",
|
||||||
"http://127.0.0.1:3000",
|
"http://127.0.0.1:3000",
|
||||||
"http://127.0.0.1:8000",
|
"http://127.0.0.1:8000/*",
|
||||||
"https://sim-free.dev-null.rocks",
|
"https://sim-free.dev-null.rocks",
|
||||||
]
|
]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user