mirror of
https://github.com/QuiteAFancyEmerald/Holy-Unblocker.git
synced 2025-05-17 05:20:01 -04:00
text/html over just 'html'
This commit is contained in:
parent
41c344b9a4
commit
3280da6350
1 changed files with 1 additions and 1 deletions
|
@ -110,7 +110,7 @@ app.register(fastifyStatic, {
|
|||
decorateReply: false
|
||||
});
|
||||
app.get("/", function(req, reply) {
|
||||
reply.type('html');
|
||||
reply.type('text/html');
|
||||
reply.send(paintSource(loadTemplates(tryReadFile(path.join(__dirname, "views", "/?".indexOf(req.url) ? pages[Object.keys(req.query)[0]] || "error.html" : pages.index)))))
|
||||
});
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue