Skip to content

Commit

Permalink
Return to not using linode bucket for deploy previews
Browse files Browse the repository at this point in the history
  • Loading branch information
3b1b committed Jan 24, 2024
1 parent 85e2145 commit 10460ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/transformSrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const transformSrc = (src, dir = "") => {
return src;
} else if (
process.env.NODE_ENV === "production" &&
// process.env.NEXT_PUBLIC_NETLIFY_CONTEXT === "production" && // Not a deploy preview
process.env.NEXT_PUBLIC_NETLIFY_CONTEXT === "production" && // Not a deploy preview
!src.endsWith("svg")
) {
return bucket + ensureLeadingSlash(dir + src);
Expand Down

0 comments on commit 10460ea

Please sign in to comment.