aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/server
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/server')
-rw-r--r--cmd/server/main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/server/main.go b/cmd/server/main.go
index 321cb88..f0f7637 100644
--- a/cmd/server/main.go
+++ b/cmd/server/main.go
@@ -215,7 +215,7 @@ func upload(b *storage.BucketHandle) http.Handler {
http.Error(w, http.StatusText(http.StatusInternalServerError), http.StatusInternalServerError)
return
}
- u := url.URL{Scheme: "https", Host: "i.dis.band", Path: outName}
+ u := url.URL{Scheme: "https", Host: r.Host, Path: outName}
fmt.Fprintln(w, u.String())
})
}