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.

fix #2709

Steven Tey18e8ea7a28d3
diff --git a/apps/web/lib/middleware/app.ts b/apps/web/lib/middleware/app.ts
index 8168feeaec..489d826468 100644
--- a/apps/web/lib/middleware/app.ts
+++ b/apps/web/lib/middleware/app.ts
@@ -87,13 +87,14 @@ export default async function AppMiddleware(req: NextRequest) {
"/analytics",
"/events",
"/customers",
+ "/program",
"/programs",
"/settings",
"/upgrade",
"/guides",
"/wrapped",
].includes(path) ||
- path.startsWith("/program") ||
+ path.startsWith("/program/") ||
path.startsWith("/settings/") ||
isTopLevelSettingsRedirect(path)
) {