routes have not yet been changed in the frontend
parent
30756370b4
commit
04ff74a372
|
@ -23,4 +23,14 @@ func SetupWebRoutes(app *fiber.App) {
|
||||||
minecraftV1 := apiV1.Group("/minecraft")
|
minecraftV1 := apiV1.Group("/minecraft")
|
||||||
|
|
||||||
minecraftV1.Get("/:accessKey/:serverName", minecraft.RestartServer)
|
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)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue