Skip to content

Commit 54df570

Browse files
authored
fix: Trailing slash in server URL (#5)
1 parent 57f7ef9 commit 54df570

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

JavaScript/8-all.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const fetch = require('./6-fetch.js');
44

5-
const baseUrl = 'http://localhost:3000/';
5+
const baseUrl = 'http://localhost:3000';
66

77
const promises = [
88
fetch(baseUrl + '/person'),

JavaScript/9-race.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
const fetch = require('./6-fetch.js');
44

5-
const baseUrl = 'http://localhost:3000/';
5+
const baseUrl = 'http://localhost:3000';
66

77
const promises = [
88
fetch(baseUrl + '/person'),

0 commit comments

Comments
 (0)