aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.go b/main.go
index 1925f0b..5999ae3 100644
--- a/main.go
+++ b/main.go
@@ -545,6 +545,8 @@ func main() {
q := r.URL.Query()
if x, ok := q["q"]; ok {
req.URL.RawQuery = x[0]
+ } else {
+ req.URL.RawQuery = r.URL.RawQuery
}
proxyGemini(req, false, root, w, r)
}))