Cannot GET /ui (Node-Red on Home Assistant)

It means instead of calling /ui as you said, try calling /endpoint/ui

As to why, you'll have to ask the HA folk why they moved it