add cod-tracker to api path

This commit is contained in:
Michael Simard
2020-05-29 15:19:00 -05:00
parent f48ddd77bf
commit 728a74662f

View File

@@ -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)