fix path to assets
add another url for local environment
remove unnecessary path variable