Skip to content

Commit

Permalink
fix: replace plasmic-static1 direct S3 URLs with CDN URLs
Browse files Browse the repository at this point in the history
Change-Id: I443628a3358110ef6ff88e931946ce7efdd6d818
GitOrigin-RevId: 77bac019312afc2db7e233a3c84e951c3dece5c2
  • Loading branch information
jaslong authored and actions-user committed Dec 10, 2024
1 parent c1f4396 commit b721743
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down
6 changes: 2 additions & 4 deletions platform/wab/src/wab/shared/devflags.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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: [],
Expand Down

0 comments on commit b721743

Please sign in to comment.