mirror of
https://github.com/zylon-ai/private-gpt.git
synced 2025-12-22 04:30:11 +01:00
Add basic CORS (#1198)
This commit is contained in:
parent
a666fd5b73
commit
8487440a6f
4 changed files with 57 additions and 2 deletions
|
|
@ -1,6 +1,11 @@
|
|||
server:
|
||||
env_name: ${APP_ENV:prod}
|
||||
port: ${PORT:8001}
|
||||
cors:
|
||||
enabled: false
|
||||
allow_origins: ["*"]
|
||||
allow_methods: ["*"]
|
||||
allow_headers: ["*"]
|
||||
|
||||
data:
|
||||
local_data_folder: local_data/private_gpt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue