Merge remote-tracking branch 'misskey-dev/develop' into io
This commit is contained in:
commit
f2743a09e2
23 changed files with 1001 additions and 1106 deletions
|
@ -199,6 +199,11 @@ export class ClientServerService {
|
|||
|
||||
// Authenticate
|
||||
fastify.addHook('onRequest', async (request, reply) => {
|
||||
if (request.routeOptions.url == null) {
|
||||
reply.code(404).send('Not found');
|
||||
return;
|
||||
}
|
||||
|
||||
// %71ueueとかでリクエストされたら困るため
|
||||
const url = decodeURI(request.routeOptions.url ?? '');
|
||||
if (url === bullBoardPath || url.startsWith(bullBoardPath + '/')) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue