mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-08-29 12:23:55 +00:00
fix(settings): enable cors by default so it will work when using ts sdk (spa)
This commit is contained in:
parent
9d0d614706
commit
6a0b2149c1
@ -5,7 +5,7 @@ server:
|
|||||||
env_name: ${APP_ENV:prod}
|
env_name: ${APP_ENV:prod}
|
||||||
port: ${PORT:8001}
|
port: ${PORT:8001}
|
||||||
cors:
|
cors:
|
||||||
enabled: false
|
enabled: true
|
||||||
allow_origins: ["*"]
|
allow_origins: ["*"]
|
||||||
allow_methods: ["*"]
|
allow_methods: ["*"]
|
||||||
allow_headers: ["*"]
|
allow_headers: ["*"]
|
||||||
|
Loading…
Reference in New Issue
Block a user