Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

Merge branch 'main' into program-lander

Kiran Ka0f46a08c62e
diff --cc apps/web/lib/middleware/partners.ts
index 692a2f3888,9c41dba4b8..1bc7da8225
--- a/apps/web/lib/middleware/partners.ts
+++ b/apps/web/lib/middleware/partners.ts
@@@ -9,13 -9,10 +9,11 @@@ const UNAUTHENTICATED_PATHS =
"/register",
"/forgot-password",
"/auth/reset-password",
+ "/apply",
];
- const TOP_LEVEL_REDIRECTS = ["/marketplace", "/settings"];
-
export default async function PartnersMiddleware(req: NextRequest) {
- const { path, searchParamsString } = parse(req);
+ const { path, fullPath } = parse(req);
const isUnauthenticatedPath = UNAUTHENTICATED_PATHS.some((p) =>
path.startsWith(p),