mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 10:25:52 +02:00
fix(config): [sync] missing base dir #778
This commit is contained in:
parent
c4f1e01e26
commit
564431cefe
5 changed files with 15 additions and 41 deletions
|
@ -77,7 +77,7 @@ func EditConfig(c *gin.Context) {
|
|||
cfg.SyncOverwrite = json.SyncOverwrite
|
||||
|
||||
g := query.ChatGPTLog
|
||||
err = config.SyncToRemoteServer(cfg, absPath)
|
||||
err = config.SyncToRemoteServer(cfg)
|
||||
if err != nil {
|
||||
api.ErrHandler(c, err)
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue