security: 清除全部公开测试页硬编码的 worker 内部密码

- 16 个测试页移除 X-Internal-Token 硬编码(网关不校验该头,删除零影响,已线上验证)
- 11/12 系列保留 token 输入框仅清空默认值,直连 worker 调试改为手输
- 接入文档 integration.html:补请求体 2MB 上限与 413 说明、HTTP 层错误提示、接口4 7 字段、补全 9/10/99 测试页入口
This commit is contained in:
xsl
2026-09-07 00:35:29 +08:00
parent ebcaff1295
commit b031ce5bbe
16 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -129,7 +129,7 @@ async function submitTest() {
form.append('image_file', file);
try {
const resp = await fetch(API_BASE + ENDPOINT, { method: 'POST', headers: { 'X-Internal-Token': 'dev-shared-secret-2026' }, body: form });
const resp = await fetch(API_BASE + ENDPOINT, { method: 'POST', body: form });
const json = await resp.json();
const dt = ((performance.now() - t0) / 1000).toFixed(2);
lastJson = json;