fix baseURL and use hash location in production