瀏覽代碼

allow desktop

Bernt Christian Egeland 9 月之前
父節點
當前提交
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;