From 3f0a80722db0262f7eea7642dc72f3a7091dbce1 Mon Sep 17 00:00:00 2001 From: Alf Eaton <eaton.alf@gmail.com> Date: Fri, 7 Jul 2017 13:12:51 +0100 Subject: [PATCH] Make sure API_ENDPOINT is a URL --- app/components/{VersionActions.css => Actions.css} | 4 ++-- config/shared.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) rename app/components/{VersionActions.css => Actions.css} (75%) diff --git a/app/components/VersionActions.css b/app/components/Actions.css similarity index 75% rename from app/components/VersionActions.css rename to app/components/Actions.css index f5eba6cf4e..ffd8bfc594 100644 --- a/app/components/VersionActions.css +++ b/app/components/Actions.css @@ -1,8 +1,8 @@ -.version-actions { +.actions { padding-bottom: 20px; } -.version-action { +.action { color: #4990E2; text-decoration-color: #aaa; text-decoration-skip: ink diff --git a/config/shared.js b/config/shared.js index 7b35911038..f88b50f675 100644 --- a/config/shared.js +++ b/config/shared.js @@ -5,7 +5,7 @@ const permissions = require('../permissions/index') module.exports = { 'pubsweet-server': { dbPath: path.join(__dirname, '..', 'api', 'db'), - API_ENDPOINT: '/api' + API_ENDPOINT: 'http://localhost:3000/api' }, 'pubsweet-client': { 'login-redirect': '/' -- GitLab