use config for url generator