diff --git a/lemserv b/lemserv index b2a1b2c..8ce38d8 100755 Binary files a/lemserv and b/lemserv differ diff --git a/lemserv.go b/lemserv.go index 835a391..77724e4 100644 --- a/lemserv.go +++ b/lemserv.go @@ -6,6 +6,7 @@ import ( ) func main() { + http.Handle("/", http.FileServer(http.Dir("./wwwdata/"))) http.HandleFunc("/mything", handleSomething) if err := http.ListenAndServe(":8088", nil); err != http.ErrServerClosed { fmt.Printf("Ouch, server closed: %v\n", err) diff --git a/wwwdata/index.html b/wwwdata/index.html new file mode 100644 index 0000000..1c67785 --- /dev/null +++ b/wwwdata/index.html @@ -0,0 +1,10 @@ + + + +bla + + +

tut

+ + +