fix: remove usage of env var

This commit is contained in:
Sérgio Salgado 2021-11-19 19:44:37 +00:00
parent 5892d3b3c0
commit ea51c62b80

View file

@ -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}`