We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9d40b13 commit 366122fCopy full SHA for 366122f
apps/dashboard/src/middleware.ts
@@ -65,16 +65,6 @@ export async function middleware(request: NextRequest) {
65
});
66
}
67
68
- // requesting page at app/nebula-app on thirdweb.com -> redirect to nebula.thirdweb.com
69
- if (paths[0] === "nebula-app") {
70
- const newPaths = paths.slice(1);
71
- const url = new URL(request.nextUrl.href);
72
- url.host = `nebula.${host}`;
73
- url.pathname = `/${newPaths.join("/")}`;
74
-
75
- return NextResponse.redirect(url.href);
76
- }
77
78
let cookiesToSet: Record<string, string> | undefined = undefined;
79
80
const activeAccount = request.cookies.get(COOKIE_ACTIVE_ACCOUNT)?.value;
0 commit comments