file path

This commit is contained in:
Alfonso 2019-05-25 17:24:13 -07:00
parent cdf5f3b428
commit aff660822e
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ func handler2(w http.ResponseWriter, r *http.Request) {
log.Println(stuff)
current := time.Now()
filename := "/tmp/" + current.Format("2006-01-02-15-04-05")
filename := "/signup/" + current.Format("2006-01-02-15-04-05")
log.Println("filename =", filename)
// write to file
writeToFile(filename, stuff + "\n")