From b7217435a2f4468ed2222ade361d6768fb50af33 Mon Sep 17 00:00:00 2001 From: Jason Long Date: Sat, 7 Dec 2024 15:19:58 +0900 Subject: [PATCH] fix: replace plasmic-static1 direct S3 URLs with CDN URLs Change-Id: I443628a3358110ef6ff88e931946ce7efdd6d818 GitOrigin-RevId: 77bac019312afc2db7e233a3c84e951c3dece5c2 --- .../src/wab/client/components/insert-panel/InsertPanel.tsx | 2 +- platform/wab/src/wab/shared/devflags.ts | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/platform/wab/src/wab/client/components/insert-panel/InsertPanel.tsx b/platform/wab/src/wab/client/components/insert-panel/InsertPanel.tsx index 341fc464432..61477e1b334 100644 --- a/platform/wab/src/wab/client/components/insert-panel/InsertPanel.tsx +++ b/platform/wab/src/wab/client/components/insert-panel/InsertPanel.tsx @@ -1079,7 +1079,7 @@ export function buildAddItemGroups({ return undefined; } const resolved = insertPanelAliases.get(alias as any); - const aliasImageUrl = `https://plasmic-static1.s3.us-west-2.amazonaws.com/insertables/${alias}.svg`; + const aliasImageUrl = `https://static1.plasmic.app/insertables/${alias}.svg`; // Is this a built-in insertable? if (!resolved) { diff --git a/platform/wab/src/wab/shared/devflags.ts b/platform/wab/src/wab/shared/devflags.ts index ed3b8b97d9b..8056020e752 100644 --- a/platform/wab/src/wab/shared/devflags.ts +++ b/platform/wab/src/wab/shared/devflags.ts @@ -475,8 +475,7 @@ const DEFAULT_DEVFLAGS = { syntheticPackage: true, sectionLabel: "Design systems", isInstallOnly: true, - imageUrl: - "https://plasmic-static1.s3.us-west-2.amazonaws.com/insertables/unstyled.png", + imageUrl: "https://static1.plasmic.app/insertables/unstyled.png", codeName: "unstyled", codeLink: "", onlyShownIn: "new", @@ -485,8 +484,7 @@ const DEFAULT_DEVFLAGS = { type: "hostless-component", componentName: "Unstyled", displayName: "More HTML elements", - imageUrl: - "https://plasmic-static1.s3.us-west-2.amazonaws.com/insertables/unstyled.png", + imageUrl: "https://static1.plasmic.app/insertables/unstyled.png", }, ], projectId: [],