Merge remote-tracking branch 'upstream/develop' into merge-upstream
This commit is contained in:
commit
262c6bdd01
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue