From c26242ac77e2acb8e4c38780c9340955a8e9daf5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Daniel=20Kuty=C5=82a?= Date: Tue, 13 Apr 2021 17:36:52 +0200 Subject: [PATCH] 17415: Fixed wrong hostname in generated duck file MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła --- cypress/integration/collection.spec.js | 2 +- src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cypress/integration/collection.spec.js b/cypress/integration/collection.spec.js index f5f44b8513..fa3ad8e6a3 100644 --- a/cypress/integration/collection.spec.js +++ b/cypress/integration/collection.spec.js @@ -32,7 +32,7 @@ describe('Collection panel tests', function () { cy.clearLocalStorage(); }); - it.only('allows to download mountain duck config for a collection', () => { + it('allows to download mountain duck config for a collection', () => { cy.createCollection(adminUser.token, { name: `Test collection ${Math.floor(Math.random() * 999999)}`, owner_uuid: activeUser.user.uuid, diff --git a/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx b/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx index 6e5c7c0fac..eec15c49ee 100644 --- a/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx +++ b/src/views-components/webdav-s3-dialog/webdav-s3-dialog.tsx @@ -59,7 +59,7 @@ const mountainduckTemplate = ({ UUID ${uuid} Hostname - ${collectionsUrl.replace('https://', `davs://${username}@`).replace('*', uuid)} + ${collectionsUrl.replace('https://', ``).replace('*', uuid)} Port 443 Username -- 2.30.2