config cros for backend api host and make host address constant