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
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:
@ -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())
|
||||
|
Reference in New Issue
Block a user