1
0
mirror of https://git.sr.ht/~adnano/go-gemini synced 2024-09-18 13:31:36 +02:00

mux: Tweak documentation

This commit is contained in:
adnano 2021-06-26 20:26:30 -04:00
parent 1c2f1481de
commit bd3717fae3

6
mux.go
View File

@ -38,9 +38,9 @@ import (
// "/search" and "search.example.com/" without also taking over requests // "/search" and "search.example.com/" without also taking over requests
// for "gemini://example.com/". // for "gemini://example.com/".
// //
// Wildcard patterns can be used to match multiple hostnames, so that the // Wildcard patterns can be used to match multiple hostnames. For example,
// pattern "*.example.com" will match requests for "blog.example.com" and // the pattern "*.example.com" will match requests for "blog.example.com"
// "gemini.example.com", but not "example.org". // and "gemini.example.com", but not "example.org".
// //
// If a subtree has been registered and a request is received naming the // If a subtree has been registered and a request is received naming the
// subtree root without its trailing slash, Mux redirects that // subtree root without its trailing slash, Mux redirects that