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) => {
167
167
req . url === "/health" ||
168
168
req . url === "/static" ||
169
169
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" )
176
176
) {
177
177
// We skip auth check for static endpoints and auth routes
178
178
return ;
You can’t perform that action at this time.
0 commit comments