This commit is contained in:
syuilo 2018-04-08 17:23:06 +09:00
parent 6089169a3c
commit cd198d8fbf

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