mirror of
https://github.com/benbusby/farside.git
synced 2025-04-20 02:48:42 +00:00
Add missing tent mapping
This commit is contained in:
parent
f3ab726cec
commit
e2ac4a20f8
1 changed files with 8 additions and 0 deletions
|
@ -111,6 +111,14 @@ var regexMap = []RegexMapping{
|
||||||
Pattern: regexp.MustCompile("librex|librey"),
|
Pattern: regexp.MustCompile("librex|librey"),
|
||||||
Targets: []string{"librey"},
|
Targets: []string{"librey"},
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
// Tent
|
||||||
|
// Note: This is a Bandcamp alternative, but the endpoints are
|
||||||
|
// completely different than Bandcamp, so 1-to-1 mapping of URLs
|
||||||
|
// is not possible without some additional work
|
||||||
|
Pattern: regexp.MustCompile("tent"),
|
||||||
|
Targets: []string{"tent"},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
func MatchRequest(service string) (string, error) {
|
func MatchRequest(service string) (string, error) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue