Skip to content

Commit 366122f

Browse files
committed
[NEB-237] Fix Nebula OG Image
1 parent 9d40b13 commit 366122f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

apps/dashboard/src/middleware.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -65,16 +65,6 @@ export async function middleware(request: NextRequest) {
6565
});
6666
}
6767

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-
7868
let cookiesToSet: Record<string, string> | undefined = undefined;
7969

8070
const activeAccount = request.cookies.get(COOKIE_ACTIVE_ACCOUNT)?.value;

0 commit comments

Comments
 (0)