Bernt Christian Egeland 7 месяцев назад
Родитель
Сommit
42b2f9928e
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/proxy.ts

+ 1 - 1
src/proxy.ts

@@ -1,7 +1,7 @@
 import { NextRequest, NextResponse } from "next/server";
 import { getSessionCookie } from "better-auth/cookies";
 
-const publicPaths = ["/auth", "/api/v1", "/api/public", "/api/internal", "/api/webhooks", "/share", "/terms"];
+const publicPaths = ["/auth", "/api/v1", "/api/public", "/api/internal", "/api/webhooks", "/api/desktop", "/share", "/terms"];
 
 export async function proxy(request: NextRequest) {
   const { pathname } = request.nextUrl;