Commit d8a175e5 authored by Andy Mardesich's avatar Andy Mardesich

baseURL fiddle

parent fd63159d
Pipeline #10266 failed with stages
in 23 seconds
_build _build
config/local* config/local*
config/*.env config/*.env
config/env.sh
coverage coverage
node_modules node_modules
uploads uploads
......
...@@ -165,7 +165,7 @@ const Dashboard = props => { ...@@ -165,7 +165,7 @@ const Dashboard = props => {
currentUser={currentUser} currentUser={currentUser}
history={history} history={history}
key="createSubmission" key="createSubmission"
scienceOfficer={globalScienceOfficerTeam.members[0]} scienceOfficer={globalScienceOfficerTeam ? globalScienceOfficerTeam.members[0] : null}
/>, />,
] ]
...@@ -207,7 +207,7 @@ const Dashboard = props => { ...@@ -207,7 +207,7 @@ const Dashboard = props => {
{isGlobal && ( {isGlobal && (
<Section <Section
editors={globalEditorTeam.members} editors={globalEditorTeam ? globalEditorTeam.members : []}
itemComponent={EditorSectionItem} itemComponent={EditorSectionItem}
items={editorArticles} items={editorArticles}
label="Editor Section" label="Editor Section"
......
[ [
"pubsweet-component-login", "pubsweet-component-login",
"pubsweet-component-signup", "pubsweet-component-signup",
"pubsweet-component-password-reset-backend", "pubsweet-component-password-reset-backend",
"pubsweet-component-password-reset-frontend", "pubsweet-component-password-reset-frontend",
"./app/wbApi", "pubsweet-component-users-manager",
"./server/manuscript/src", "./app/wbApi",
"./server/review/src" "./server/manuscript/src",
"./server/review/src"
] ]
...@@ -24,7 +24,8 @@ const logger = new winston.Logger({ ...@@ -24,7 +24,8 @@ const logger = new winston.Logger({
module.exports = { module.exports = {
'pubsweet-client': { 'pubsweet-client': {
baseUrl: deferConfig( baseUrl: deferConfig(
cfg => `http://localhost:${cfg['pubsweet-server'].port}`, // cfg => `http://localhost:${cfg['pubsweet-server'].port}`,
cfg => '',
), ),
}, },
'pubsweet-server': { 'pubsweet-server': {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment