fixing client side to pull from server route instead of static file