diff --git a/config.json b/config.json index 9743aa99c5f2ec001a8448f9439b3179c178cd2d..a7a65710f6ff36d67c4b34d36921292ad6ef93ff 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 6d12e20ba23715e251fde62ff9af50df6167c368..1401ecec0db5ef49ea0aa81d920f90af37d04dc0 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'} ]