marcklingen commited on
Commit
0472209
1 Parent(s): b360b37

Disable CSP headers to allow for embedded use within HF

Browse files
Files changed (1) hide show
  1. docker-entrypoint-wrapper.sh +3 -0
docker-entrypoint-wrapper.sh CHANGED
@@ -54,6 +54,9 @@ export HOSTNAME="0.0.0.0"
54
  export HOST="0.0.0.0"
55
  export PORT=3000
56
 
 
 
 
57
  # Preset oauth env vars based on injected space variables
58
  # See https://huggingface.co/docs/hub/en/spaces-oauth#create-an-oauth-app
59
  export AUTH_CUSTOM_CLIENT_ID=$OAUTH_CLIENT_ID
 
54
  export HOST="0.0.0.0"
55
  export PORT=3000
56
 
57
+ # Disable CSP headers to allow for embedded use within HF
58
+ export LANGFUSE_CSP_DISABLE="true"
59
+
60
  # Preset oauth env vars based on injected space variables
61
  # See https://huggingface.co/docs/hub/en/spaces-oauth#create-an-oauth-app
62
  export AUTH_CUSTOM_CLIENT_ID=$OAUTH_CLIENT_ID