core/apiRouter: fix web UI asset wildcard routing, add debug logging