file path
This commit is contained in:
parent
cdf5f3b428
commit
aff660822e
|
@ -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")
|
||||
|
|
Loading…
Reference in New Issue