This fixes a problem where Vikunja would sometimes return the html for the frontend when accessing an api route for a nonexistent ressource, because the static handler was the next best. Resolves https://kolaente.dev/vikunja/vikunja/issues/2110
RELATED-TO