summaryrefslogtreecommitdiff
path: root/http.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-14 15:26:11 -0500
committerJeff Carr <[email protected]>2024-10-14 15:26:11 -0500
commit5b47c44fb57a2b99661dba0f6a620c690703b58f (patch)
treeb27ac5ffc278913e442ee908aef486d969debebb /http.go
parente19465c39f035670f4c368bcee91f6c2135022b4 (diff)
a 'start' event
Signed-off-by: Jeff Carr <[email protected]>
Diffstat (limited to 'http.go')
-rw-r--r--http.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/http.go b/http.go
index 141082c..85bdbb0 100644
--- a/http.go
+++ b/http.go
@@ -46,6 +46,12 @@ func okHandler(w http.ResponseWriter, r *http.Request) {
return
}
+ if tmp == "/start" {
+ start := r.URL.Query().Get("start")
+ fmt.Fprint(w,"Handling URL:", tmp, "should start here: droplet", start)
+ return
+ }
+
if tmp == "/favicon.ico" {
writeFile(w, "ipv6.png")
return