fix: allow unauthenticated access to geoip-status endpoint

This commit is contained in:
fuomag9
2026-02-25 01:27:19 +01:00
parent 1231150550
commit e64e522929

View File

@@ -18,6 +18,7 @@ export default auth((req) => {
pathname === "/login" ||
pathname.startsWith("/api/auth") ||
pathname === "/api/health" ||
pathname === "/api/geoip-status" ||
pathname === "/api/instances/sync"
) {
return NextResponse.next();