From 07d94de3de8ef28a8dbf7e0d02eade924dcd56f2 Mon Sep 17 00:00:00 2001 From: Moises Sacal <moisbo@gmail.com> Date: Thu, 19 Dec 2019 12:04:50 +1100 Subject: [PATCH] update config --- config.json | 5 +++++ src/index.js | 6 +++--- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/config.json b/config.json index 9743aa9..a7a6571 100644 --- a/config.json +++ b/config.json @@ -1,5 +1,10 @@ { "repo": "http://localhost:8080/repo/", + "portal": { + "back": "Back to Stash", + "URL": "https://stash-uat.research.uts.edu.au/", + "helpURL": "https://stash-uat.research.uts.edu.au/default/rdmp/getAdvice" + }, "api": "/solr/public_ocfl", "dev": { "proxy": { diff --git a/src/index.js b/src/index.js index 6d12e20..1401ece 100644 --- a/src/index.js +++ b/src/index.js @@ -15,9 +15,9 @@ let state = { URL: '/', logo: 'images/logo.svg', help: 'Help', - helpURL: '', - portal: 'Back to Stash', - portalURL: 'http://stash.research.uts.edu.au', + helpURL: config.portal.helpURL, + portal: config.portal.back, + portalURL: config.portal.URL, menu: [ {id: 'back', name: 'Back'} ] -- GitLab