This commit is contained in:
AlecM33
2022-02-26 00:29:10 -05:00
parent 1af8ca6878
commit 22debed807

View File

@@ -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;" +