Add basic CORS (#1198)

This commit is contained in:
lopagela 2023-11-10 14:29:43 +01:00 committed by GitHub
parent a666fd5b73
commit 8487440a6f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 57 additions and 2 deletions

View file

@ -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