1
0
mirror of https://github.com/sasjs/server.git synced 2025-12-11 03:34:35 +00:00

chore: helmet config cleanup

This commit is contained in:
Mihajlo Medjedovic
2022-05-06 11:40:12 +00:00
parent dd3acce393
commit 3ad327b85f
5 changed files with 65 additions and 16 deletions

View File

@@ -64,15 +64,18 @@ PROTOCOL=
# default: 5000
PORT=
# optional
# for MODE: `desktop`, prompts user
# for MODE: `server` gets value from api/package.json `configuration.sasPath`
SAS_PATH=/path/to/sas/executable.exe
# optional
# When `true` it will disable strict Content Security Policy
CSP_DISABLE=true
# optional HELMET config
# crossOriginEmbedderPolicy flag that will be passed in HELMET config
HELMET_COEP=
# optional HELMET config
# path to json file that will include HELMET `contentSecurityPolicy` directives
HELMET_CSP_CONFIG_PATH=./csp.config.json
# optional
# for MODE: `desktop`, prompts user