fix: proxy tripo texture assets in 3d viewer
This commit is contained in:
parent
2f5c2fca50
commit
5864e9f4cf
@ -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") ||
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user