File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -167,12 +167,12 @@ export const withAuth = async (server: FastifyInstance) => {
167167 req . url === "/health" ||
168168 req . url === "/static" ||
169169 req . url === "/json" ||
170- req . url === "/auth/payload" ||
171- req . url === "/auth/login" ||
172- req . url === "/auth/user" ||
173- req . url === "/auth/switch-account" ||
174- req . url === "/auth/logout" ||
175- req . url === "/transaction/status"
170+ req . url . startsWith ( "/auth/payload" ) ||
171+ req . url . startsWith ( "/auth/login" ) ||
172+ req . url . startsWith ( "/auth/user" ) ||
173+ req . url . startsWith ( "/auth/switch-account" ) ||
174+ req . url . startsWith ( "/auth/logout" ) ||
175+ req . url . startsWith ( "/transaction/status" )
176176 ) {
177177 // We skip auth check for static endpoints and auth routes
178178 return ;
You can’t perform that action at this time.
0 commit comments