Эх сурвалжийг харах

Merge pull request #4381 from ChatGPTNextWeb/fred-bf-patch-3

patch: disable webdav redirect
fred-bf 1 жил өмнө
parent
commit
90af4e3b77

+ 1 - 0
app/api/webdav/[...path]/route.ts

@@ -101,6 +101,7 @@ async function handle(
       authorization: req.headers.get("authorization") ?? "",
     },
     body: shouldNotHaveBody ? null : req.body,
+    redirect: 'manual',
     method,
     // @ts-ignore
     duplex: "half",