normalize endpoints
@@ -290,6 +290,7 @@ func start(c *cli.Context) error {
e.GET("/bot/moons/:galaxy/:system/:position", ogame.GetMoonByCoordHandler)
e.GET("/bot/celestials/:celestialID/items", ogame.GetCelestialItemsHandler)
e.GET("/bot/celestials/:celestialID/items/:itemRef/activate", ogame.ActivateCelestialItemHandler)
+ e.GET("/bot/celestials/:celestialID/techs", ogame.TechsHandler)
e.GET("/bot/planets", ogame.GetPlanetsHandler)
e.GET("/bot/planets/:planetID", ogame.GetPlanetHandler)
e.GET("/bot/planets/:galaxy/:system/:position", ogame.GetPlanetByCoordHandler)
@@ -317,7 +318,6 @@ func start(c *cli.Context) error {
e.POST("/bot/planets/:planetID/send-ipm", ogame.SendIPMHandler)
e.GET("/bot/moons/:moonID/phalanx/:galaxy/:system/:position", ogame.PhalanxHandler)
e.POST("/bot/moons/:moonID/jump-gate", ogame.JumpGateHandler)
- e.GET("/bot/techs/:celestialID", ogame.TechsHandler)
e.GET("/game/allianceInfo.php", ogame.GetAlliancePageContentHandler) // Example: //game/allianceInfo.php?allianceId=500127
// Get/Post Page Content
