From 22debed8070e259e8a9428674a2956f8a0f5479e Mon Sep 17 00:00:00 2001 From: AlecM33 Date: Sat, 26 Feb 2022 00:29:10 -0500 Subject: [PATCH] lint --- server/modules/ServerBootstrapper.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/ServerBootstrapper.js b/server/modules/ServerBootstrapper.js index d7f31a9..24cb62e 100644 --- a/server/modules/ServerBootstrapper.js +++ b/server/modules/ServerBootstrapper.js @@ -66,7 +66,7 @@ const ServerBootstrapper = { } }); app.use(function (req, res, next) { - let nonce = crypto.randomBytes(16).toString('base64'); + const nonce = crypto.randomBytes(16).toString('base64'); res.setHeader( 'Content-Security-Policy', "default-src 'self'; font-src 'self' https://fonts.gstatic.com/; img-src 'self' https://img.buymeacoffee.com;" +