1
0
mirror of https://github.com/MisskeyIO/misskey synced 2024-11-27 14:28:49 +09:00

Merge remote-tracking branch 'upstream/develop' into merge-upstream

This commit is contained in:
riku6460 2023-09-30 17:46:27 +09:00
commit 262c6bdd01
No known key found for this signature in database
GPG Key ID: 27414FA27DB94CF6

View File

@ -189,7 +189,7 @@ export class ClientServerService {
// Authenticate
fastify.addHook('onRequest', async (request, reply) => {
// %71ueueとかでリクエストされたら困るため
const url = decodeURI(request.routerPath);
const url = decodeURI(request.routeOptions.url);
if (url === bullBoardPath || url.startsWith(bullBoardPath + '/')) {
const token = request.cookies.token;
if (token == null) {