feat(ui): FRO-36 PWA (#110)
Added localhost:3000 to CORS for PWA to work Co-authored-by: LQ63 <lkhermann@web.de> Reviewed-on: #110 Reviewed-by: Janis <janis-e@gmx.de> Co-authored-by: lq64 <lq@blackhole.local> Co-committed-by: lq64 <lq@blackhole.local>
This commit is contained in:
@@ -17,7 +17,7 @@ auth {
|
|||||||
play.filters.enabled += "play.filters.cors.CORSFilter"
|
play.filters.enabled += "play.filters.cors.CORSFilter"
|
||||||
|
|
||||||
play.filters.cors {
|
play.filters.cors {
|
||||||
allowedOrigins = ["http://localhost:5173"]
|
allowedOrigins = ["http://localhost:5173", "http://localhost:3000"]
|
||||||
allowedCredentials = true
|
allowedCredentials = true
|
||||||
allowedHttpMethods = ["GET", "POST", "PUT", "DELETE", "OPTIONS"]
|
allowedHttpMethods = ["GET", "POST", "PUT", "DELETE", "OPTIONS"]
|
||||||
allowedHttpHeaders = ["Accept", "Content-Type", "Origin", "X-Requested-With"]
|
allowedHttpHeaders = ["Accept", "Content-Type", "Origin", "X-Requested-With"]
|
||||||
|
|||||||
Reference in New Issue
Block a user