Update cors origin
This commit is contained in:
parent
980947d459
commit
167b1becbc
@ -3,7 +3,7 @@ steps:
|
|||||||
name: Build & Push Frontend
|
name: Build & Push Frontend
|
||||||
image: woodpeckerci/plugin-kaniko
|
image: woodpeckerci/plugin-kaniko
|
||||||
when:
|
when:
|
||||||
branch: [ master, develop ]
|
branch: [ master, develop, aws ]
|
||||||
event: [ push, pull_request, tag ]
|
event: [ push, pull_request, tag ]
|
||||||
path:
|
path:
|
||||||
include: [ frontend/** ]
|
include: [ frontend/** ]
|
||||||
|
|||||||
@ -242,6 +242,7 @@ allowed_origins = [
|
|||||||
"http://localhost:3000",
|
"http://localhost:3000",
|
||||||
"https://my-recipes.dvirlabs.com",
|
"https://my-recipes.dvirlabs.com",
|
||||||
"http://my-recipes.dvirlabs.com",
|
"http://my-recipes.dvirlabs.com",
|
||||||
|
"http://my-recipes.aws-dvirlabs.com",
|
||||||
]
|
]
|
||||||
|
|
||||||
app.add_middleware(
|
app.add_middleware(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user