We often use feature branches on our website. We currently set the baseURL as the root domain (for the main website). This causes issues when going to another branch. Currently, we manually change the baseURL but that’s risky as the pull request might accidentally update it for the live too.
My current thinking is to replace baseURL from:
baseURL: "https://domain.com/"
to:
baseURL: "/"
Is there any risks in doing that? I’ve tested it on a branch and seems to work well. Just wondered if there are any implications that not being a domain.