Selaa lähdekoodia

allow desktop

Bernt Christian Egeland 9 kuukautta sitten
vanhempi
sitoutus
42b2f9928e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      src/proxy.ts

+ 1 - 1
src/proxy.ts

@@ -1,7 +1,7 @@
 import { NextRequest, NextResponse } from "next/server";
 import { NextRequest, NextResponse } from "next/server";
 import { getSessionCookie } from "better-auth/cookies";
 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) {
 export async function proxy(request: NextRequest) {
   const { pathname } = request.nextUrl;
   const { pathname } = request.nextUrl;