I have a Vue SPA application that builds 2 applications - one which is a client html entrypoint and another which is an admin html entrypoint. The client html entrypoint is deployed as root index.html
while the admin one is deployed at admin/index.html
.
My problem is that when going to any route in /admin/**
it does NOT redirect to the admin/index.html
page. Everything that I have tried incorrectly falls back to the client’s root index.html
. I have tried setting rules in _redirects
and also using Transform rules to static redirect to /admin
but neither have succeeded.
Is this a limitation with CF Pages at this time? Or am I doing something wrong?