mirror of
https://github.com/moparisthebest/kaiwa
synced 2024-12-25 08:58:53 -05:00
Fix: config JSON file MIME type
This commit is contained in:
parent
04fada09d7
commit
c9da0de13d
@ -85,6 +85,7 @@ app.get('/logout', function (req, res) {
|
|||||||
});
|
});
|
||||||
|
|
||||||
app.get('/config.js', function (req, res) {
|
app.get('/config.js', function (req, res) {
|
||||||
|
res.type('application/javascript');
|
||||||
res.send("var SERVER_CONFIG = " + JSON.stringify(config.server) + ";");
|
res.send("var SERVER_CONFIG = " + JSON.stringify(config.server) + ";");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user