smallyoung commited on
Commit
8b0ebf3
·
1 Parent(s): 38076cf

尝试iFrames

Browse files
Files changed (1) hide show
  1. start.sh +0 -3
start.sh CHANGED
@@ -10,9 +10,6 @@ export N8N_ENCRYPTION_KEY="${N8N_ENCRYPTION_KEYn}"
10
  export NODE_FUNCTION_ALLOW_BUILTIN=* #允许使用所有内置的 Node.js 模块
11
  export NODE_FUNCTION_ALLOW_EXTERNAL=* #允许导入和使用所有外部模块
12
  export N8N_CUSTOM_EXTENSIONS="/home/node/.n8n/nodes" # 指定社区节点的本地安装位置
13
- export N8N_SAMESITE_COOKIE="none" # 允许 iframe 嵌入时 cookie 正常工作
14
- # 允许指定来源嵌入 iframe,请将 http://example.com 替换为您的域名
15
- export N8N_CONTENT_SECURITY_POLICY='{"default-src": ["\"self\""], "connect-src": ["\"self\""], "frame-ancestors": ["https://huggingface.co"]}'
16
 
17
  ####################### Postgresql 配置 ############################
18
  export DB_TYPE="postgresdb"
 
10
  export NODE_FUNCTION_ALLOW_BUILTIN=* #允许使用所有内置的 Node.js 模块
11
  export NODE_FUNCTION_ALLOW_EXTERNAL=* #允许导入和使用所有外部模块
12
  export N8N_CUSTOM_EXTENSIONS="/home/node/.n8n/nodes" # 指定社区节点的本地安装位置
 
 
 
13
 
14
  ####################### Postgresql 配置 ############################
15
  export DB_TYPE="postgresdb"