Skip to content

Commit

Permalink
serve out of correct default dir
Browse files Browse the repository at this point in the history
  • Loading branch information
aaaaaaaalex committed Apr 20, 2021
1 parent e1ce9c1 commit 7fcc39e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

func main() {
address := flag.String("a", "127.0.0.1:9000", "address to listen on")
rootPath := flag.String("d", "/var/www/", "directory to serve from")
rootPath := flag.String("d", "/var/www/html/", "directory to serve from")
index := flag.String("i", "index.gohtml", "filename of directory indexes")
logLevel := flag.String("loglevel", "info", "one of: panic, fatal, error, warn, info, debug, trace")
flag.Parse()
Expand Down

0 comments on commit 7fcc39e

Please sign in to comment.