Replace unnecessary let
This commit is contained in:
parent
6b5e31a208
commit
1515237a4c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue