delete hard code and use ApiBaseUrl to instead of it