Rename existing Endoleap proxy and configuration in place [skip ci]

This commit is contained in:
2026-11-19 19:33:12 +08:00
parent 0870ac7487
commit c8b9e10a30
22 changed files with 305 additions and 310 deletions
+1 -1
View File
@@ -35,6 +35,6 @@ test('uncertain upload retries the exact bytes with the same idempotency key',as
// 受管原始 URL 转同源认证代理,preview 仅加显示变体参数;普通外部图片地址保持原样。
// 这里仅比对字符串,不请求代理,也不验证登录鉴权或预览图片内容。
test('preview URLs are renderer-only and do not replace original managed references',()=>{
assert.equal(managedImageSource(asset.url),`/api/foundry/workspaces/w/assets/${id}`);assert.equal(managedImageSource(asset.url,true),`/api/foundry/workspaces/w/assets/${id}?variant=preview`);
assert.equal(managedImageSource(asset.url),`/api/bedrock/workspaces/w/assets/${id}`);assert.equal(managedImageSource(asset.url,true),`/api/bedrock/workspaces/w/assets/${id}?variant=preview`);
assert.equal(managedImageSource('https://example.com/photo.png',true),'https://example.com/photo.png');
});