I’m confused about how Directus redirects when visiting /admin. I’ve tried setting ROOT_REDIRECT to false, ./admin/content/posts/ and I’ve not set it. But when I visit /admin and then pressing “Continue” to login with one user I’m still redirect to /admin/settings/policies.
I’m running a local instance, created through npx directus-template-cli@latest init, Directus 11.17.4.
In the docker-compose.yamldirectus → environment I’ve added: ROOT_REDIRECT: ${ROOT_REDIRECT}
I’ve then set ROOT_REDIRECT in the .env file.
After changes I’ve stopped the containers and re-started the containers using: docker compose up --build
Are there more docs on this /admin redirect behaviour?
In my case it’s the last_page that’s pulled from the /users/me API endpoint. But looks like this last_page isn’t always updated.
Looks like there is a 500ms delay.