update the app URL env var name in API config
All checks were successful
Build the docker image for the API / build (push) Successful in 2m18s

Signed-off-by: ngn <ngn@ngn.tf>
This commit is contained in:
ngn
2025-04-07 04:57:29 +03:00
parent aa69525912
commit bcb48d789b
3 changed files with 10 additions and 10 deletions

View File

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