new: add config hub

This commit is contained in:
ngn
2024-05-05 21:22:45 +03:00
parent cb150c9280
commit 12e3b0c2d4
11 changed files with 343 additions and 18 deletions

View File

@ -49,6 +49,9 @@ func main(){
app.Get("/wiki", routes.WikiMainRoute)
app.Get("/wiki/:id", routes.WikiRoute)
app.Get("/hub", routes.ConfigsRoute)
app.Get("/hub/:id", routes.ConfigRoute)
app.Get("*", func(c *fiber.Ctx) error {
return lib.RenderError(c, 404)
})