This commit is contained in:
syuilo 2018-04-08 17:23:06 +09:00
parent 6089169a3c
commit cd198d8fbf
1 changed files with 8 additions and 0 deletions

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
*/