feat: support csp (#9111)

Co-authored-by: Joel <iamjoel007@gmail.com>
This commit is contained in:
NFish 2024-10-11 16:14:56 +08:00 committed by GitHub
commit f4ce08211d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 148 additions and 62 deletions

View file

@ -22,5 +22,6 @@ export NEXT_PUBLIC_SITE_ABOUT=${SITE_ABOUT}
export NEXT_TELEMETRY_DISABLED=${NEXT_TELEMETRY_DISABLED}
export NEXT_PUBLIC_TEXT_GENERATION_TIMEOUT_MS=${TEXT_GENERATION_TIMEOUT_MS}
export NEXT_PUBLIC_CSP_WHITELIST=${CSP_WHITELIST}
pm2 start ./pm2.json --no-daemon