Hello,
I want to transform something like https://dev.example.com/*branch*
to *branch*.something.pages.dev
.
I have the following dynamic rule in place but I’m not sure what’s going wrong.
concat(substring(http.request.uri.path, 1), ".something.pages.dev")
Expected: dev.example.com/test
→ test.something.pages.dev
.
Getting: dev.example.com/test.something.pages.dev
and then redirect loop as expected.
Any help would be appreciated.