From 10460ea6b011cc21646568d7b203fea6404c6a8a Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Wed, 24 Jan 2024 11:24:37 -0600 Subject: [PATCH] Return to not using linode bucket for deploy previews --- util/transformSrc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);