summaryrefslogtreecommitdiffstats
path: root/roseh.moe.go
diff options
context:
space:
mode:
authorRose Hogenson <rosehogenson@posteo.net>2026-07-09 19:56:45 -0700
committerRose Hogenson <rosehogenson@posteo.net>2026-07-09 19:56:45 -0700
commitde52ffdd1412590ea733942500534f62cfa1b84c (patch)
treeddfa0cb645280e1a87d509c6f79c0b282b105854 /roseh.moe.go
parent440a556ade3a52dd94a8a4a4d446c187df3754e1 (diff)
downloadroseh.moe-de52ffdd1412590ea733942500534f62cfa1b84c.tar.zst
Include a newline at the end of the API response
Diffstat (limited to 'roseh.moe.go')
-rw-r--r--roseh.moe.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/roseh.moe.go b/roseh.moe.go
index 51caf17..6ac91e9 100644
--- a/roseh.moe.go
+++ b/roseh.moe.go
@@ -500,7 +500,7 @@ func wormholeAPIUpload(w http.ResponseWriter, r *http.Request) {
return
}
w.Header().Set("Content-Type", "text/plain")
- fmt.Fprintf(w, "%s/wormhole/%s", *selfURL, hole)
+ fmt.Fprintf(w, "%s/wormhole/%s\n", *selfURL, hole)
}
func wormholeDownload(w http.ResponseWriter, r *http.Request) {