Skip to content

Commit 55276ab

Browse files
authored
Update createStore.js
1 parent d62834f commit 55276ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server/createStore.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import {
1010
} from '../common/shared/constants';
1111

1212
export default (req) => {
13-
const baseURL = new URL(API_PATH, API_HOST).toString().slice(0, -1);
13+
const baseURL = new URL(API_PATH, API_HOST).toString();
1414
const axiosInstance = axios.create({
1515
baseURL,
1616
headers: { cookie: req.get('cookie') || '' }

0 commit comments

Comments
 (0)