diff --git a/index.js b/index.js index 485cbdd..78c09f2 100644 --- a/index.js +++ b/index.js @@ -138,9 +138,8 @@ See https://kit.svelte.dev/docs/page-options#prerender for more details` HTML_assets.forEach(async (path) => { let href = "/" + path; - console.log(href); - let regex_input = new RegExp(`[^.]/_app/immutable`, "g"); + let regex_input = new RegExp(`[^.](/_app/immutable)`, "g"); let regex_replace = `"./_app/immutable`; await replace.sync({