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({ const client = createClient({
username: credentials.username, username: credentials.username,
password: credentials.password, password: credentials.password,
baseURL: `${normalizedBaseURL}/remote.php/dav/files/${credentials.username}/Private`, baseURL: normalizedBaseURL,
authType: 'basic', authType: 'basic',
}); });
// Construct the folder path without leading slash // Construct the folder path
const folderPath = folder; const folderPath = `remote.php/dav/files/${credentials.username}/Private/${folder}`;
console.log('Full folder path:', folderPath); console.log('Full folder path:', folderPath);
try { try {