carnet panel2
This commit is contained in:
parent
947d3f048f
commit
09089090a5
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user