Rename existing Endoleap proxy and configuration in place [skip ci]
This commit is contained in:
@@ -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');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user