From 369a98202d85782aa1b7ba62f053e7e6efa3dc47 Mon Sep 17 00:00:00 2001 From: Matt Hillsdon Date: Wed, 29 May 2024 12:54:54 +0100 Subject: [PATCH] Fix extra slash --- vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vite.config.ts b/vite.config.ts index 3849270a3..f811307e1 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -24,7 +24,7 @@ const pwaCacheId = process.env.STAGE === "PRODUCTION" || process.env.STAGE === "STAGING" || process.env.STAGE === "REVIEW" - ? process.env.BASE_URL.replaceAll("/", "") + "-" + ? process.env.BASE_URL.replaceAll("/", "") : undefined; // There are third-party options but seems better to just depend on ejs.