From 728a74662f3c5baf9de46c06f284ddfd918520bb Mon Sep 17 00:00:00 2001 From: Michael Simard Date: Fri, 29 May 2020 15:19:00 -0500 Subject: [PATCH] add cod-tracker to api path --- Sources/App/Controllers/StatsController.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/App/Controllers/StatsController.swift b/Sources/App/Controllers/StatsController.swift index fafac56..26c735b 100644 --- a/Sources/App/Controllers/StatsController.swift +++ b/Sources/App/Controllers/StatsController.swift @@ -7,7 +7,7 @@ import Vapor struct StatsController: RouteCollection { func boot(routes: RoutesBuilder) throws { - let statsRoute = routes.grouped("api", "stats") + let statsRoute = routes.grouped("cod-tracker","api", "stats") statsRoute.get("allMatches", use: index) statsRoute.get("totalWins", use: totalWins)