瀏覽代碼

修复代码BUG

niujiuru 2 小時之前
父節點
當前提交
4a593f7c8f
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1 1
      upgrade.service/rpc_handler.go

+ 1 - 1
upgrade.service/rpc_handler.go

@@ -11,7 +11,7 @@ import (
 )
 
 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 {
 		return jsonrpc2.BuildError(req, jsonrpc2.ErrInternal, err.Error())
 	}