We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0cf42ef commit 3db2a08Copy full SHA for 3db2a08
lib/api/getRootUrl.js
@@ -1,7 +1,7 @@
1
export default function getRootUrl() {
2
const port = process.env.PORT || 8000;
3
const dev = process.env.NODE_ENV !== 'production';
4
- const ROOT_URL = dev ? `http://localhost:${port}` : 'https://builderbook.org';
+ const ROOT_URL = dev ? `http://localhost:${port}` : 'https://ancient-reaches-14182.herokuapp.com';
5
6
return ROOT_URL;
7
}
server/app.js
@@ -21,7 +21,7 @@ require('dotenv').config();
21
22
23
24
-const ROOT_URL = dev ? `http://localhost:${port}` : 'https://builderbook.org';
+const ROOT_URL = dev ? `http://localhost:${port}` : 'https://ancient-reaches-14182.herokuapp.com';
25
26
const MONGO_URL = dev ? process.env.MONGO_URL_TEST : process.env.MONGO_URL;
27
0 commit comments