Skip to content

Commit 44338a8

Browse files
committed
.setup file is not created
1 parent c40d43a commit 44338a8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pkg/vectorxws/webserver.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ func apiHandler(w http.ResponseWriter, r *http.Request) {
8585
fmt.Fprintf(w, "{ \"result\": \"KO\"}")
8686
}
8787
*/
88+
_, _ = os.Create(filepath.Join(os.Getenv("VECTORX_HOME"), ".setup"))
8889
fmt.Fprintf(w, "{ \"result\": \"OK\"}")
8990
}
9091
}

0 commit comments

Comments
 (0)