This commit is contained in:
syuilo 2018-04-08 17:23:06 +09:00
parent 8fa89e0443
commit 358e8f162f

View file

@ -50,6 +50,14 @@ app.use((req, res, next) => {
}
});
// 互換性のため
app.post('/meta', (req, res) => {
res.header('Access-Control-Allow-Origin', '*');
res.json({
version: 'nighthike'
});
});
/**
* Register modules
*/