fix: remove usage of env var
This commit is contained in:
parent
5892d3b3c0
commit
ea51c62b80
1 changed files with 1 additions and 4 deletions
|
|
@ -1,7 +1,4 @@
|
|||
const url =
|
||||
process.env.NODE_ENV === 'development'
|
||||
? 'https://localhost:3001'
|
||||
: `https://${window.location.hostname}`
|
||||
const url = `https://${window.location.hostname}`
|
||||
|
||||
const urlResolver = content => `${url}${content}`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue