Making browser URL dynamic based on API URL settings