summaryrefslogtreecommitdiff
path: root/src/http/http.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/http/http.go')
-rw-r--r--src/http/http.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/http/http.go b/src/http/http.go
index d51671d..da404dc 100644
--- a/src/http/http.go
+++ b/src/http/http.go
@@ -44,6 +44,10 @@ type Params struct {
// PublicURL is the base URL which site visitors can navigate to.
PublicURL *url.URL
+ // GeminiPublicURL is the base URL which gemini site visitors can navigate
+ // to.
+ GeminiPublicURL *url.URL
+
// ListenProto and ListenAddr are passed into net.Listen to create the
// API's listener. Both "tcp" and "unix" protocols are explicitly
// supported.