Merge changes from webdav-service
[arvados-workbench2.git] / src / services / collection-service / collection-service.ts
index 32eeac4f74ef8d6a3eeeee92948a4047f49b3223..47268255d9605efde6e3842c791acc0ed9bcb35d 100644 (file)
@@ -49,7 +49,7 @@ export class CollectionService extends CommonResourceService<CollectionResource>
                 const pathname = hrefElement ? hrefElement.innerHTML : undefined;
                 const directory = pathname && pathname.replace(/\/c=[0-9a-zA-Z\-]*/, '').replace(`/${name || ''}`, '');
 
-                const href = this.webdavClient.defaults.baseUrl + pathname + '?api_token=' + this.authService.getApiToken();
+                const href = this.webdavClient.defaults.baseURL + pathname + '?api_token=' + this.authService.getApiToken();
 
                 const data = {
                     url: href,