fix: Bug with local dynamic reloading since moving to SSL

This commit is contained in:
Tom Moor
2023-08-14 20:48:49 +02:00
parent c38e045df2
commit 4edfab20fe

View File

@@ -42,7 +42,7 @@ const styleSrc = [
// Allow to load assets from Vite
if (!isProduction) {
scriptSrc.push("127.0.0.1:3001");
scriptSrc.push(env.URL.replace(`:${env.PORT}`, ":3001"));
scriptSrc.push("localhost:3001");
}