π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
Fix middleware headers
Dominik Prodinger5499e32df877
diff --git a/apps/frontend/src/middleware.ts b/apps/frontend/src/middleware.tsindex 9f07b1efa..d46e6870f 100644--- a/apps/frontend/src/middleware.ts+++ b/apps/frontend/src/middleware.ts@@ -41,7 +41,9 @@ export async function middleware(request: NextRequest) {nextUrl.pathname.startsWith('/icons/')) {return NextResponse.next({- headers,+ request: {+ headers: headers,+ },});}// If the URL is logout, delete the cookie and redirect to login@@ -104,7 +106,9 @@ export async function middleware(request: NextRequest) {return redirect;}return NextResponse.next({- headers,+ request: {+ headers: headers,+ },});}try {@@ -145,7 +149,9 @@ export async function middleware(request: NextRequest) {);}const next = NextResponse.next({- headers,+ request: {+ headers: headers,+ },});if (nextUrl.pathname === '/marketplace/seller' ||