summaryrefslogtreecommitdiff
path: root/backend.go
diff options
context:
space:
mode:
authorHaoran S. Diao <0@hairydiode.xyz>2019-11-22 17:56:36 -0800
committerHaoran S. Diao <0@hairydiode.xyz>2019-11-22 17:56:36 -0800
commit9f9562f26736882701995000a5fe6a4cba8560b5 (patch)
tree77eb8c9742817f9d322851530dc94b4ed93a8fc1 /backend.go
parent9c25d60386002e77a602d16c87d3a7055133f561 (diff)
Editted backend.go to serve timestamp of most recently sent alert, index.htmlHEADmaster
now periodically checks that timestamp to send notifications.
Diffstat (limited to 'backend.go')
-rw-r--r--backend.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend.go b/backend.go
index 25878c3..aaa4122 100644
--- a/backend.go
+++ b/backend.go
@@ -14,5 +14,5 @@ func main() {
}
func messageHandler(w http.ResponseWriter, r *http.Request) {
w.Header().Set("Access-Control-Allow-Origin", "*")
- fmt.Fprintf(w, "肏");
+ fmt.Fprintf(w, "1574466927");
}