Simford.Dong commited on
Commit
a3cab57
·
1 Parent(s): 8c590d4

Fix: trust all proxies and dangerouslyDisableDeviceAuth for HF Spaces compatibility

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -49,13 +49,14 @@ if [ ! -f /root/.openclaw/openclaw.json ]; then\n\
49
  "mode": "local",\n\
50
  "bind": "lan",\n\
51
  "port": 7860,\n\
52
- "trustedProxies": ["127.0.0.1", "10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16"],\n\
53
  "auth": {\n\
54
  "mode": "password",\n\
55
  "password": "${SETUP_PASSWORD}"\n\
56
  },\n\
57
  "controlUi": {\n\
58
- "allowInsecureAuth": true\n\
 
59
  }\n\
60
  },\n\
61
  "agents": {\n\
 
49
  "mode": "local",\n\
50
  "bind": "lan",\n\
51
  "port": 7860,\n\
52
+ "trustedProxies": ["0.0.0.0/0"],\n\
53
  "auth": {\n\
54
  "mode": "password",\n\
55
  "password": "${SETUP_PASSWORD}"\n\
56
  },\n\
57
  "controlUi": {\n\
58
+ "allowInsecureAuth": true,\n\
59
+ "dangerouslyDisableDeviceAuth": true\n\
60
  }\n\
61
  },\n\
62
  "agents": {\n\