routes have not yet been changed in the frontend

master
Alex 2021-12-28 20:19:19 +01:00
parent 30756370b4
commit 04ff74a372
1 changed files with 10 additions and 0 deletions

View File

@ -23,4 +23,14 @@ func SetupWebRoutes(app *fiber.App) {
minecraftV1 := apiV1.Group("/minecraft")
minecraftV1.Get("/:accessKey/:serverName", minecraft.RestartServer)
// old routes
voiceApiV1 := app.Group("/voice/v1")
voiceApiV1.Get("/:voiceWebCode", voice.GetVoiceWebToken)
mobileApiV1 := app.Group("/mobile/v1")
mobileApiV1.Get("/:mobileWebCode", mobile.GetMobileWebToken)
}