fix: proxy tripo texture assets in 3d viewer
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Your Name 2026-05-14 14:34:29 +08:00
parent 2f5c2fca50
commit 5864e9f4cf
2 changed files with 3 additions and 0 deletions

View File

@ -12,6 +12,8 @@ function isAllowedModelHost(hostname: string) {
return (
normalized === "bbyy.ai" ||
normalized.endsWith(".bbyy.ai") ||
normalized === "tripo3d.ai" ||
normalized.endsWith(".tripo3d.ai") ||
normalized === "tripo3d.com" ||
normalized.endsWith(".tripo3d.com") ||
normalized.includes("worldlabs") ||

View File

@ -2,6 +2,7 @@ const THREE_ASSET_PROXY_PATH = "/api/canvas/3d/model-proxy";
const PROXY_HOST_KEYWORDS = [
"bbyy.ai",
"tripo3d.ai",
"tripo3d.com",
"worldlabs",
"marble",