summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacien TRAN-GIRARD2012-09-23 13:27:37 +0200
committerPacien2015-12-07 22:48:27 +0100
commit22c4609e303301f991a2e95f01853a56beb564bb (patch)
treef35206e3a4a41e154b73fc3f1793b92b3b3867e0
parent68c6f64333bf8756db31c5ceae0f040162703c0f (diff)
downloadninja-go-local-cloud-22c4609e303301f991a2e95f01853a56beb564bb.tar.gz
Fix static handler path for previewing.
-rw-r--r--src/ninjacloud.go2
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 {