mirror of
https://github.com/imartinez/privateGPT.git
synced 2025-09-12 13:26:50 +00:00
fix(settings): enable cors by default so it will work when using ts sdk (spa) (#1925)
This commit is contained in:
@@ -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: ["*"]
|
||||||
|
Reference in New Issue
Block a user