diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ninjacloud.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ninjacloud.go b/src/ninjacloud.go index 5632709..a600ee7 100644 --- a/src/ninjacloud.go +++ b/src/ninjacloud.go | |||
@@ -696,7 +696,7 @@ func main() { | |||
696 | http.HandleFunc(dirPath, dirHandler) | 696 | http.HandleFunc(dirPath, dirHandler) |
697 | http.HandleFunc(webPath, getDataHandler) | 697 | http.HandleFunc(webPath, getDataHandler) |
698 | http.HandleFunc(statusPath, getStatusHandler) | 698 | http.HandleFunc(statusPath, getStatusHandler) |
699 | http.Handle("/", http.FileServer(http.Dir(root))) | 699 | http.Handle("/", http.FileServer(http.Dir("."))) |
700 | 700 | ||
701 | err = http.ListenAndServe(interfaceFlag+":"+portFlag, nil) | 701 | err = http.ListenAndServe(interfaceFlag+":"+portFlag, nil) |
702 | if err != nil { | 702 | if err != nil { |