skip to Main Content

I have a project where the domain must be changed from test to firms, is there a way to change it?:

image of the domain name

3

Answers


  1. This is just a get request and all the datas that you receive in response are coming from the backend and you cant change them without have a PUT request.

    Solution to this is either let it statically or as above mentioned update them with a PUT/PATCH request.

    Login or Signup to reply.
  2. The domain comes from backend but You can manipulate the domain value when printing in element.

    Login or Signup to reply.
  3. Your question lacks details about where and how the domain is being used in the project.

    If the domain name is used as a base URL for API calls or similar purposes and it’s hard-coded into your Angular application, and trust, you’d want to avoid that. Instead, you should store such values in environment variables. Angular has built-in support for environment-specific configurations through the environments files (environment.ts and environment.prod.ts).

    If the question is about changing the domain in the browser’s address bar (which is not recommended and usually handled by server-side configurations or DNS settings), that would be a different topic and again, more details would be needed to provide an appropriate response.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search