utopia-ui/app/README.md
Ulf Gebhardt 9a19617906
refactor(app): parameterize admin role & enforce it to be set (#336)
* parameterize admin role & enforce it to be set

* fix lint

---------

Co-authored-by: Anton Tranelis <31516529+antontranelis@users.noreply.github.com>
2025-08-26 09:52:25 +00:00

11 lines
481 B
Markdown

# App
## Troubleshooting
Map doesn't load and the Error `You must define the Admin roll in the .env file!` shows in the console.
In order to get the map running you need to define the correct uuid of the admin roll in the `.env` file.
Go to http://localhost:8055 and login with the admin credentials. Navigate to http://localhost:8055/admin/settings/roles and click `Administrator` and copy the UUID from the URL.
Put this UUID in the `.env` as `VITE_DIRECTUS_ADMIN_ROLE=UUID`