From c468ac2cbfad97a4a566a1cd87faf6653025f24e Mon Sep 17 00:00:00 2001 From: Tamara Steinwender <tamara.steinwender@tugraz.at> Date: Mon, 13 Jul 2020 10:52:42 +0200 Subject: [PATCH] Rollup config changes fpr nextcloud add-on --- rollup.config.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rollup.config.js b/rollup.config.js index 30dc8e1..286f548 100644 --- a/rollup.config.js +++ b/rollup.config.js @@ -98,6 +98,8 @@ switch (build) { process.exit(1); } +let nextcloudFileURL = nextcloudBaseURL + '/apps/files/?dir='; + /** * Creates a server certificate and caches it in the .cert directory */ @@ -186,6 +188,8 @@ export default { buildinfo: getBuildInfo(), nextcloudWebAppPasswordURL: nextcloudWebAppPasswordURL, nextcloudWebDavURL: nextcloudWebDavURL, + nextcloudBaseURL: nextcloudBaseURL, + nextcloudFileURL: nextcloudFileURL, }), emitEJS({ src: 'assets', -- GitLab