diff options
Diffstat (limited to 'src/ninjacloud.go')
-rw-r--r-- | src/ninjacloud.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ninjacloud.go b/src/ninjacloud.go index 5f9274e..5c6b417 100644 --- a/src/ninjacloud.go +++ b/src/ninjacloud.go | |||
@@ -681,6 +681,7 @@ func main() { | |||
681 | http.HandleFunc(dirPath, dirHandler) | 681 | http.HandleFunc(dirPath, dirHandler) |
682 | http.HandleFunc(webPath, getDataHandler) | 682 | http.HandleFunc(webPath, getDataHandler) |
683 | http.HandleFunc(statusPath, getStatusHandler) | 683 | http.HandleFunc(statusPath, getStatusHandler) |
684 | http.Handle("/", http.FileServer(http.Dir(projectsDir))) | ||
684 | 685 | ||
685 | err = http.ListenAndServe(interfaceFlag+":"+portFlag, nil) | 686 | err = http.ListenAndServe(interfaceFlag+":"+portFlag, nil) |
686 | if err != nil { | 687 | if err != nil { |