|
@@ -11,7 +11,7 @@ import (
|
|
|
)
|
|
)
|
|
|
|
|
|
|
|
func getUpgradeConf(ctx context.Context, req *jsonrpc2.Request) *jsonrpc2.Response {
|
|
func getUpgradeConf(ctx context.Context, req *jsonrpc2.Request) *jsonrpc2.Response {
|
|
|
- data, err := os.ReadFile(filepath.Join(baseapp.CFG_DIR, "servers.json"))
|
|
|
|
|
|
|
+ data, err := os.ReadFile(filepath.Join(baseapp.CFG_DIR, "upgrade.json"))
|
|
|
if err != nil {
|
|
if err != nil {
|
|
|
return jsonrpc2.BuildError(req, jsonrpc2.ErrInternal, err.Error())
|
|
return jsonrpc2.BuildError(req, jsonrpc2.ErrInternal, err.Error())
|
|
|
}
|
|
}
|