Skip to content

Commit

Permalink
Save data to ndt7 subdir (#114)
Browse files Browse the repository at this point in the history
Saves ndt7 data to a subdirectory.
  • Loading branch information
pboothe authored May 13, 2019
1 parent a40df81 commit 2ee1f26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ndt-server.go
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ func main() {
ndt7Mux.HandleFunc("/", defaultHandler)
ndt7Mux.Handle("/static/", http.StripPrefix("/static", http.FileServer(http.Dir("html"))))
ndt7Handler := &handler.Handler{
DataDir: *dataDir,
DataDir: *dataDir + "/ndt7",
Upgrader: websocket.Upgrader{
CheckOrigin: func(r *http.Request) bool {
return true // Allow cross origin resource sharing
Expand Down

0 comments on commit 2ee1f26

Please sign in to comment.