diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2020-06-27 23:25:06 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2020-06-27 23:25:06 +0900 |
| commit | 3599f16d22a5777b6c7ef4b0ef6b0538cc4869c8 (patch) | |
| tree | 44f97058031ab82ee21bb4ea3118325465734299 /src/server/api | |
| parent | feat(client): Do not wrap widgets (diff) | |
| download | sharkey-3599f16d22a5777b6c7ef4b0ef6b0538cc4869c8.tar.gz sharkey-3599f16d22a5777b6c7ef4b0ef6b0538cc4869c8.tar.bz2 sharkey-3599f16d22a5777b6c7ef4b0ef6b0538cc4869c8.zip | |
chore(deps): Update dependencies :rocket:
Diffstat (limited to 'src/server/api')
| -rw-r--r-- | src/server/api/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/index.ts b/src/server/api/index.ts index d69d923345..93c6cfdac0 100644 --- a/src/server/api/index.ts +++ b/src/server/api/index.ts @@ -96,7 +96,7 @@ router.post('/miauth/:session/check', async ctx => { }); // Return 404 for unknown API -router.all('*', async ctx => { +router.all('(.*)', async ctx => { ctx.status = 404; }); |