mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 14:00:21 +00:00
Fix loading fonts in Microsoft Edge
This commit is contained in:
parent
e9d7d77cbd
commit
3b8a478e34
1 changed files with 1 additions and 1 deletions
|
@ -138,7 +138,7 @@ function index(req, res, next) {
|
|||
return css.slice(0, -4);
|
||||
});
|
||||
var template = _.template(file);
|
||||
res.setHeader("Content-Security-Policy", "default-src *; connect-src 'self' ws: wss:; style-src * 'unsafe-inline'; script-src 'self'; child-src 'none'; object-src 'none'; form-action 'none'; referrer no-referrer;");
|
||||
res.setHeader("Content-Security-Policy", "default-src *; connect-src 'self' ws: wss:; style-src * 'unsafe-inline'; script-src 'self'; child-src 'self'; object-src 'none'; form-action 'none'; referrer no-referrer;");
|
||||
res.setHeader("Content-Type", "text/html");
|
||||
res.writeHead(200);
|
||||
res.end(template(data));
|
||||
|
|
Loading…
Reference in a new issue