cleanup for the docker setup

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn
2025-01-18 03:31:37 +03:00
parent ecaa6fb68f
commit fa2f3acb35
34 changed files with 433 additions and 319 deletions

View File

@ -7,7 +7,8 @@ import (
func GET_Index(c *fiber.Ctx) error {
conf := c.Locals("config").(*config.Type)
doc := conf.GetURL("doc_url")
app := conf.GetURL("app_url")
return c.Redirect(doc.JoinPath("/api").String())
// redirect to the API documentation
return c.Redirect(app.JoinPath("/doc/api").String())
}