Skip to content

Commit 3db2a08

Browse files
author
Siddaiah M
committedMay 23, 2020
Modified production url
-changed from builderbook.org to heroko link -deleted lock.json file
1 parent 0cf42ef commit 3db2a08

File tree

3 files changed

+2
-9893
lines changed

3 files changed

+2
-9893
lines changed
 

‎lib/api/getRootUrl.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
export default function getRootUrl() {
22
const port = process.env.PORT || 8000;
33
const dev = process.env.NODE_ENV !== 'production';
4-
const ROOT_URL = dev ? `http://localhost:${port}` : 'https://builderbook.org';
4+
const ROOT_URL = dev ? `http://localhost:${port}` : 'https://ancient-reaches-14182.herokuapp.com';
55

66
return ROOT_URL;
77
}

‎server/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ require('dotenv').config();
2121

2222
const dev = process.env.NODE_ENV !== 'production';
2323
const port = process.env.PORT || 8000;
24-
const ROOT_URL = dev ? `http://localhost:${port}` : 'https://builderbook.org';
24+
const ROOT_URL = dev ? `http://localhost:${port}` : 'https://ancient-reaches-14182.herokuapp.com';
2525

2626
const MONGO_URL = dev ? process.env.MONGO_URL_TEST : process.env.MONGO_URL;
2727

0 commit comments

Comments
 (0)
Failed to load comments.