use config value instead hard code of url