diff --git a/toolkit-showcase/rollup.config.js b/toolkit-showcase/rollup.config.js index ded380d0c5e1e70f83b338259068ca79d0285fe8..cb4ab2d66a9cb8f6cad18455e8faccca214464ff 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);