This commit is contained in:
cangui 2025-08-18 21:14:09 +02:00
parent 82f2dd9f7f
commit e3887bef74

View File

@ -264,10 +264,11 @@ func startHTTP() {
func main() {
// SFTP sur 2222 (root = ./upload)
//go startSFTPServer(SFTPBaseDir)
// HTTP normal
startHTTP()
go startSFTPServer(SFTPBaseDir)
}
func loadOrCreateRSAHostKey(path string) (ssh.Signer, error) {
if _, err := os.Stat(path); err == nil {