Skip to content
This repository was archived by the owner on Mar 13, 2025. It is now read-only.

Commit a46ab54

Browse files
committed
Added mock base url
1 parent a216256 commit a46ab54

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

config/development.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
/**
88
* Topcoder Teams Service base URL
99
*/
10-
TC_TEAMS_SERVICE_URL: "http://localhost:8502",
10+
TC_TEAMS_SERVICE_URL: "http://localhost:8502/taasmock",
1111

1212
/**
1313
* URL of Topcoder Community Website

config/production.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ module.exports = {
77
/**
88
* Topcoder Teams Service base URL
99
*/
10-
TC_TEAMS_SERVICE_URL: "http://localhost:8502",
10+
TC_TEAMS_SERVICE_URL: "http://localhost:8502/taasmock",
1111

1212
/**
1313
* URL of Topcoder Community Website

local/mock-server/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ router.render = (req, res) => {
4545
}
4646
};
4747

48-
server.use(router);
48+
server.use('/taasmock', router);
4949

5050
server.listen(PORT, () => {
5151
console.log(`JSON Server is running on port ${PORT}`); // eslint-disable-line no-console

0 commit comments

Comments
 (0)