Replace unnecessary let

This commit is contained in:
Bruno Bernardino 2022-07-01 12:15:19 +01:00
parent 6b5e31a208
commit 1515237a4c
No known key found for this signature in database
GPG Key ID: D1B0A69ADD114ECE
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ module.exports = {
}
// Add the websocket URL + PWA URL of webpack-dev-server to connect-src when building locally, or nothing otherwise
let connectReplacement = `ws://localhost:${process.env.PL_PWA_PORT || 8080}/ws ${pwaUrl}`;
const connectReplacement = `ws://localhost:${process.env.PL_PWA_PORT || 8080}/ws ${pwaUrl}`;
data.html = data.html.replace("[REPLACE_CONNECT]", connectReplacement);
callback(null, data);