I'm using Craft as a headless CMS and when I click on the entry link at the entries' list it uses the Craft Server URL instead of the correct frontend URL (See images). For example: https://craft-author.com/index.php?p=contact instead of https://my-web-client.com/about
The envs are set as:
PRIMARY_SITE_URL: https://craft-author.com WWW_HOST: https://my-web-client.com
And the Aliases:
@previewBaseUrl: The WWW_HOST var @web: Not set (auto defined). If I set it to WWW_HOST it breaks all the CSS from the website
What am I doing wrong here?