From d21ac85b129911ed63177c0f9883b3146bc8daf4 Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio@bekerle.com> Date: Wed, 10 Mar 2021 15:18:47 +0100 Subject: [PATCH] Enable Nextcloud file picker for production --- app.config.js | 4 ++-- assets/dbp-signature.html.ejs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app.config.js b/app.config.js index 6d7c6c7..912cf90 100644 --- a/app.config.js +++ b/app.config.js @@ -54,8 +54,8 @@ export default { keyCloakClientId: 'esig_tugraz_at', matomoUrl: 'https://analytics.tugraz.at/', matomoSiteId: 137, - nextcloudBaseURL: '', - nextcloudName: '', + nextcloudBaseURL: 'https://cloud.tugraz.at', + nextcloudName: 'TU Graz cloud', pdfAsQualifiedlySigningServer: 'https://sig.tugraz.at', hiddenActivities: ['dbp-signature-verification-full', 'dbp-signature-verification'], }, diff --git a/assets/dbp-signature.html.ejs b/assets/dbp-signature.html.ejs index f17bfd5..615e301 100644 --- a/assets/dbp-signature.html.ejs +++ b/assets/dbp-signature.html.ejs @@ -55,7 +55,7 @@ <body> <dbp-provider id="root" lang="de" entry-point-url="<%= entryPointURL %>" - <%= buildInfo.env !== 'production' ? 'show-nextcloud-file-picker' : '' %> + show-nextcloud-file-picker <%= buildInfo.env !== 'production' ? 'allow-signature-rotation' : '' %> nextcloud-web-app-password-url="<%= nextcloudWebAppPasswordURL %>" nextcloud-webdav-url="<%= nextcloudWebDavURL %>" -- GitLab