From 5b68230734155779323eb2e2a07e58c3113705eb Mon Sep 17 00:00:00 2001 From: Khairul Hidayat Date: Sat, 24 Feb 2024 08:19:34 +0000 Subject: [PATCH] fix: thumbnail not generated on prod --- server/api/preview/serve-html.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/server/api/preview/serve-html.ts b/server/api/preview/serve-html.ts index 291514e..02e5421 100644 --- a/server/api/preview/serve-html.ts +++ b/server/api/preview/serve-html.ts @@ -29,11 +29,11 @@ export const serveHtml = async ( const injectScripts = ['']; // prevent direct access - if (!IS_DEV) { - injectScripts.push( - `` - ); - } + // if (!IS_DEV) { + // injectScripts.push( + // `` + // ); + // } // js import maps const importMaps = settings?.js?.packages || [];