Skip to content

Commit

Permalink
fix: depth infinity copies of a collection
Browse files Browse the repository at this point in the history
Fixes #9
  • Loading branch information
hperrin committed Dec 24, 2024
1 parent b42cc13 commit 89ffd0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nephele/src/Methods/COPY.ts
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export class COPY extends Method {
destination.toString().replace(/\/?$/, () => '/') +
encodeURIComponent(name) +
((await child.isCollection()) ? '/' : ''),
`${destination.protocol}://${destination.host}`,
`${destination.protocol}//${destination.host}`,
);

await recursivelyCopy(child, destinationUrl, false);
Expand Down

0 comments on commit 89ffd0e

Please sign in to comment.