Make API URL a build config, rather than using URL.