aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristine Dodrill <me@christine.website>2017-01-09 18:31:33 -0800
committerChristine Dodrill <me@christine.website>2017-01-09 18:31:33 -0800
commit8e2c2dbe1802b7630af93758d63f0af9f839e363 (patch)
tree6a0c64eeb0bffc6e473b715f2233afa12e5244b6
parent77625d0878ec67b66a112546405e4fcfeb4ca71f (diff)
downloadxesite-8e2c2dbe1802b7630af93758d63f0af9f839e363.tar.xz
xesite-8e2c2dbe1802b7630af93758d63f0af9f839e363.zip
backend: /health handler for backplane
-rw-r--r--backend/christine.website/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/christine.website/main.go b/backend/christine.website/main.go
index d4063a4..faad4a2 100644
--- a/backend/christine.website/main.go
+++ b/backend/christine.website/main.go
@@ -102,6 +102,7 @@ func init() {
}
func main() {
+ http.HandleFunc("/health", func(w http.ResponseWriter, r *http.Request) {})
http.HandleFunc("/api/blog/posts", writeBlogPosts)
http.HandleFunc("/api/blog/post", func(w http.ResponseWriter, r *http.Request) {
q := r.URL.Query()