parent
66ec7f86ab
commit
412e404192
@ -14,7 +14,7 @@ import (
|
|||||||
|
|
||||||
// This function responsible for getting runtime configuration.
|
// This function responsible for getting runtime configuration.
|
||||||
func configurationGET(ec echo.Context) error {
|
func configurationGET(ec echo.Context) error {
|
||||||
return ec.JSON(http.StatusOK, map[string]string{"result": "success"})
|
return ec.JSON(http.StatusOK, configuration.Cfg.GetAllPackagesInfo())
|
||||||
}
|
}
|
||||||
|
|
||||||
func configurationAllowedIPsSET(ec echo.Context) error {
|
func configurationAllowedIPsSET(ec echo.Context) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user