update to use basseUrl instead of localhost