carnet panel2

This commit is contained in:
alma 2025-04-20 16:48:36 +02:00
parent 947d3f048f
commit 09089090a5

View File

@ -47,12 +47,12 @@ export async function GET(request: Request) {
const client = createClient({
username: credentials.username,
password: credentials.password,
baseURL: `${normalizedBaseURL}/remote.php/dav/files/${credentials.username}/Private`,
baseURL: normalizedBaseURL,
authType: 'basic',
});
// Construct the folder path without leading slash
const folderPath = folder;
// Construct the folder path
const folderPath = `remote.php/dav/files/${credentials.username}/Private/${folder}`;
console.log('Full folder path:', folderPath);
try {