this repo has no description smallweb.run
smallweb
4
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix error in root

pomdtr d90ce3a8 7a9660a5

+1 -8
+1 -8
cmd/up.go
··· 191 191 } 192 192 } 193 193 194 - root, err := os.OpenRoot(k.String("dir")) 195 - if err != nil { 196 - return fmt.Errorf("failed to open root: %v", err) 197 - } 198 - 199 - fmt.Fprintf(os.Stderr, root.Name()) 200 - 201 194 srv, err := wish.NewServer( 202 195 wish.WithAddress(flags.sshAddr), 203 196 wish.WithHostKeyPath(hostKey), ··· 235 228 return false 236 229 }), 237 230 // TODO: re-implement sftp 238 - sftp.SSHOption(root, nil), 231 + sftp.SSHOption(k.String("dir"), nil), 239 232 wish.WithMiddleware(func(next ssh.Handler) ssh.Handler { 240 233 return func(sess ssh.Session) { 241 234 var cmd *exec.Cmd