parent
412e404192
commit
24a402ba7a
@ -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, configuration.Cfg.GetAllPackagesInfo())
|
return ec.JSON(http.StatusOK, configuration.Cfg)
|
||||||
}
|
}
|
||||||
|
|
||||||
func configurationAllowedIPsSET(ec echo.Context) error {
|
func configurationAllowedIPsSET(ec echo.Context) error {
|
||||||
|
Loading…
Reference in New Issue
Block a user