mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-23 19:43:08 +02:00
✌️
This commit is contained in:
parent
6089169a3c
commit
cd198d8fbf
1 changed files with 8 additions and 0 deletions
|
@ -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
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue