diff --git a/webapp/web/main.go b/webapp/web/main.go index daaf06075b..d9920a9d53 100644 --- a/webapp/web/main.go +++ b/webapp/web/main.go @@ -18,15 +18,24 @@ import ( ) func init() { - // webapp.RegisterRoutes has a catch-all, so needs to go last. - api.RegisterRoutes() + // API routes: + + // /api/checks/ routes: azure.RegisterRoutes() - checks.RegisterRoutes() ghactions.RegisterRoutes() + // checks.RegisterRoutes has a catch-all for /api/checks/, so needs to go last. + checks.RegisterRoutes() + + // The rest of /api/: + api.RegisterRoutes() query.RegisterRoutes() receiver.RegisterRoutes() screenshot.RegisterRoutes() taskcluster.RegisterRoutes() + + // The actual Web App: + + // webapp.RegisterRoutes has a catch-all, so needs to go last. webapp.RegisterRoutes() }