修改拼写错误的单词 (#230)
* 优化图标和LOGO * 修改登录页面动画的速度为3 * 增加对websocket的异常处理 * 修复了用户组和用户名唯一判断错误的问题 * 提示版本号 * 修复readme错别字 * 修复单词拼写错误的问题 * 修复代码格式
This commit is contained in:
@ -6,6 +6,7 @@ import (
|
||||
"encoding/json"
|
||||
|
||||
"next-terminal/server/config"
|
||||
"next-terminal/server/constant"
|
||||
"next-terminal/server/env"
|
||||
"next-terminal/server/model"
|
||||
"next-terminal/server/repository"
|
||||
@ -260,3 +261,7 @@ func (s assetService) UpdateById(id string, m echo.Map) error {
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
func (s assetService) FixSshMode() error {
|
||||
return repository.AssetRepository.UpdateAttrs(context.TODO(), "ssh-mode", "naive", constant.Native)
|
||||
}
|
||||
|
Reference in New Issue
Block a user