diff --git a/util/transformSrc.js b/util/transformSrc.js index a7cd24a7..b47e8299 100644 --- a/util/transformSrc.js +++ b/util/transformSrc.js @@ -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);