Skip to content

Commit 2e2e626

Browse files
committed
fetch urls change depending on production or development environment
1 parent d5b9635 commit 2e2e626

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

app/src/helperFunctions/auth.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const isDev = process.env.NODE_ENV === 'development';
2-
let serverURL = 'http://reactype.heroku.com';
2+
let serverURL = 'https://reactype.herokuapp.com';
33
if (isDev) {
44
serverURL = 'http://localhost:5000';
55
}

app/src/helperFunctions/projectGetSave.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const isDev = process.env.NODE_ENV === 'development';
2-
let serverURL = 'http://reactype.heroku.com';
2+
let serverURL = 'https://reactype.herokuapp.com';
33
if (isDev) {
44
serverURL = 'http://localhost:5000';
55
}

0 commit comments

Comments
 (0)