mirror of
https://git.sr.ht/~adnano/go-gemini
synced 2024-11-22 20:01:59 +01:00
mux: Tweak documentation
This commit is contained in:
parent
1c2f1481de
commit
bd3717fae3
6
mux.go
6
mux.go
@ -38,9 +38,9 @@ import (
|
||||
// "/search" and "search.example.com/" without also taking over requests
|
||||
// for "gemini://example.com/".
|
||||
//
|
||||
// Wildcard patterns can be used to match multiple hostnames, so that the
|
||||
// pattern "*.example.com" will match requests for "blog.example.com" and
|
||||
// "gemini.example.com", but not "example.org".
|
||||
// Wildcard patterns can be used to match multiple hostnames. For example,
|
||||
// the pattern "*.example.com" will match requests for "blog.example.com"
|
||||
// and "gemini.example.com", but not "example.org".
|
||||
//
|
||||
// If a subtree has been registered and a request is received naming the
|
||||
// subtree root without its trailing slash, Mux redirects that
|
||||
|
Loading…
Reference in New Issue
Block a user