diff --git a/src/server/index.ts b/src/server/index.ts index 61a8739b43..abb8992da5 100644 --- a/src/server/index.ts +++ b/src/server/index.ts @@ -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 */