datopian / frontend-v2

CKAN / Data Portal frontend as microservice in pure Javascript (Node).
http://tech.datopian.com/frontend/
MIT License
38 stars 18 forks source link

[env][xs]: fixes property 'replace' of undefined site url error #171

Closed EvgeniiaVak closed 4 years ago

EvgeniiaVak commented 4 years ago

When trying to launch app without SITE_URL set up (worked previously) there is an error:

 Cannot read property 'replace' of undefined
    at Object.<anonymous> (/Users/evgeniyavakarina/Documents/upwork/datopian/frontend-v2/config/index.js:21:34)

This PR is a fix for it