fix: normalize WorldLabs VIP98K endpoint

This commit is contained in:
root 2026-08-04 21:39:59 +08:00
parent e3180c23ac
commit d3a6497672
2 changed files with 39 additions and 0 deletions

View File

@ -0,0 +1,32 @@
UPDATE "AiProvider"
SET
"baseUrl" = 'https://api.vip98k.com',
"updatedAt" = NOW()
WHERE
"type" = 'worldlabs-3d'
AND regexp_replace(BTRIM(COALESCE("baseUrl", '')), '/+$', '') IN (
'',
'https://api.worldlabs.ai',
'https://api.worldlabs.ai/marble/v1',
'https://api.vip98k.com/v1',
'https://api.vip98k.com/marble/v1'
);
UPDATE "SystemSettings"
SET
"value" = jsonb_set(
"value",
'{baseUrl}',
to_jsonb('https://api.vip98k.com'::text),
true
),
"updatedAt" = NOW()
WHERE
"key" = 'worldlabs_key_pool_config'
AND regexp_replace(BTRIM(COALESCE("value" ->> 'baseUrl', '')), '/+$', '') IN (
'',
'https://api.worldlabs.ai',
'https://api.worldlabs.ai/marble/v1',
'https://api.vip98k.com/v1',
'https://api.vip98k.com/marble/v1'
);

View File

@ -561,6 +561,13 @@
"when": 1784592000000,
"tag": "0092_add_atlascloud_provider_type",
"breakpoints": true
},
{
"idx": 79,
"version": "7",
"when": 1785196800000,
"tag": "0093_update_worldlabs_vip98k_base_url",
"breakpoints": true
}
]
}