mirror of
https://github.com/AlistGo/alist.git
synced 2025-11-25 11:29:45 +08:00
chore(config): disable FTP and SFTP by default
This commit is contained in:
@@ -180,7 +180,7 @@ func DefaultConfig() *Config {
|
||||
SSL: false,
|
||||
},
|
||||
FTP: FTP{
|
||||
Enable: true,
|
||||
Enable: false,
|
||||
Listen: ":5221",
|
||||
FindPasvPortAttempts: 50,
|
||||
ActiveTransferPortNon20: false,
|
||||
@@ -192,7 +192,7 @@ func DefaultConfig() *Config {
|
||||
EnablePasvConnIPCheck: true,
|
||||
},
|
||||
SFTP: SFTP{
|
||||
Enable: true,
|
||||
Enable: false,
|
||||
Listen: ":5222",
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user