Fix git pull command

This commit is contained in:
Kelvin Ly 2019-01-27 00:01:32 -05:00
parent a81c384892
commit 7b5b18a2b7
1 changed files with 1 additions and 1 deletions

View File

@ -258,7 +258,7 @@ func startServer(srv *http.Server) {
// TODO parse payload
pullCmd := exec.Command("git", "pull")
pullCmd.Path = "./static/"
pullCmd.Dir = "./static/"
_ = pullCmd.Run()
w.Write([]byte("success"))