Updated readmes and example
This commit is contained in:
3
example/README.md
Normal file
3
example/README.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# enhancedfileserver example
|
||||
|
||||
This is the smallest possible example. For something more interesting, check out https://gitto.work/shortcut/httphere
|
@@ -15,5 +15,5 @@ func main() {
|
||||
log.Fatal(err)
|
||||
}
|
||||
|
||||
log.Fatal(http.ListenAndServe(":12345", enhancedfileserver.FileServer(enhancedfileserver.Dir(dir))))
|
||||
log.Fatal(http.ListenAndServe(":12345", enhancedfileserver.FileServer(http.Dir(dir))))
|
||||
}
|
||||
|
Reference in New Issue
Block a user