Skip to content

Commit 0d4fbdc

Browse files
committed
fix: replace url with api.realworld.io
1 parent be4f438 commit 0d4fbdc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Alternatively, you can add `.env` file in the root folder of project to set envi
2929

3030
### Making requests to the backend API
3131

32-
For convenience, we have a live API server running at https://conduit.productionready.io/api for the application to make requests against. You can view [the API spec here](https://github.com/GoThinkster/productionready/blob/master/api) which contains all routes & responses for the server.
32+
For convenience, we have a live API server running at https://api.realworld.io/api for the application to make requests against. You can view [the API spec here](https://github.com/GoThinkster/productionready/blob/master/api) which contains all routes & responses for the server.
3333

3434
The source code for the backend server (available for Node, Rails and Django) can be found in the [main RealWorld repo](https://github.com/gothinkster/realworld).
3535

src/agent.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import _superagent from 'superagent';
33

44
const superagent = superagentPromise(_superagent, global.Promise);
55

6-
const API_ROOT = process.env.REACT_APP_BACKEND_URL || 'https://conduit.productionready.io/api';
6+
const API_ROOT = process.env.REACT_APP_BACKEND_URL || 'https://api.realworld.io/api';
77

88
const encode = encodeURIComponent;
99
const responseBody = res => res.body;

0 commit comments

Comments
 (0)