1
0
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:
Sebastien Hut 2014-12-06 17:21:49 +01:00
parent 04fada09d7
commit c9da0de13d

View File

@ -85,6 +85,7 @@ app.get('/logout', function (req, res) {
});
app.get('/config.js', function (req, res) {
res.type('application/javascript');
res.send("var SERVER_CONFIG = " + JSON.stringify(config.server) + ";");
});