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