Skip to content

Commit ed6e245

Browse files
yasinBursaliclaude
andcommitted
fix(extensions-library): remove wildcard CORS from continue nginx config
Removed Access-Control-Allow-Origin: * from /config.yaml and / locations. The VS Code extension uses its own HTTP client (not browser fetch), so CORS headers are unnecessary. The wildcard allowed any website to exfiltrate internal LLM API URLs and server topology from config.yaml. Closes Light-Heart-Labs#91 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent dd97e51 commit ed6e245

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

  • resources/dev/extensions-library/services/continue/config/continue

resources/dev/extensions-library/services/continue/config/continue/nginx.conf

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,11 @@ server {
1515
# Serve the pre-built config.yaml
1616
location /config.yaml {
1717
add_header Content-Type application/yaml;
18-
add_header Access-Control-Allow-Origin *;
1918
try_files /config.yaml =404;
2019
}
2120

2221
# Serve static assets (setup page, icons, etc.)
2322
location / {
2423
try_files $uri $uri/ /index.html;
25-
add_header Access-Control-Allow-Origin *;
2624
}
2725
}

0 commit comments

Comments
 (0)