From 377556297e73368eefee35c27351a30fd9981fdf Mon Sep 17 00:00:00 2001 From: Tamara Steinwender <tamara.steinwender@tugraz.at> Date: Mon, 21 Dec 2020 14:44:19 +0100 Subject: [PATCH] Add demo to rollup --- toolkit-showcase/rollup.config.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/toolkit-showcase/rollup.config.js b/toolkit-showcase/rollup.config.js index ded380d0..cb4ab2d6 100644 --- a/toolkit-showcase/rollup.config.js +++ b/toolkit-showcase/rollup.config.js @@ -74,6 +74,19 @@ switch (build) { keyCloakClientId = 'auth-dev-mw-frontend'; pdfAsQualifiedlySigningServer = 'sig-dev.tugraz.at'; break; + case 'demo': + basePath = '/apps/demo/'; + entryPointURL = 'https://api-demo.tugraz.at'; + // "/pers" can't go here because it's not allowed in the "Content-Security-Policy" + nextcloudBaseURL = 'https://nc-dev.tugraz.at'; + // "/index.php" is needed to don't get a "This origin is not allowed!" because the "target-origin" get parameter can't be read + nextcloudWebAppPasswordURL = nextcloudBaseURL + '/pers/index.php/apps/webapppassword'; + nextcloudWebDavURL = nextcloudBaseURL + '/pers/remote.php/dav/files'; + keyCloakServer = 'auth-test.tugraz.at'; + keyCloakBaseURL = 'https://' + keyCloakServer + '/auth'; + keyCloakClientId = 'auth-dev-mw-frontend'; + pdfAsQualifiedlySigningServer = 'sig-dev.tugraz.at'; + break; default: console.error('Unknown build environment: ' + build); -- GitLab