Really push back whole configuration.

Related to #15
This commit is contained in:
Stanislav Nikitin 2020-04-27 03:51:24 +05:00
parent 412e404192
commit 24a402ba7a
No known key found for this signature in database
GPG Key ID: 106900B32F8192EE

View File

@ -14,7 +14,7 @@ import (
// This function responsible for getting runtime configuration.
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 {