mirror of
https://github.com/benbusby/farside.git
synced 2025-04-16 13:33:07 -04:00
Add missing services from services.json to mappings
This commit is contained in:
parent
c948bebd7c
commit
5624e74ae8
@ -24,8 +24,8 @@ var regexMap = []RegexMapping{
|
||||
},
|
||||
{
|
||||
// Reddit
|
||||
Pattern: regexp.MustCompile(`reddit\.com|libreddit|redlib`),
|
||||
Targets: []string{"libreddit", "redlib"},
|
||||
Pattern: regexp.MustCompile(`reddit\.com|libreddit|redlib|teddit`),
|
||||
Targets: []string{"libreddit", "redlib", "teddit"},
|
||||
},
|
||||
{
|
||||
// Google Search
|
||||
@ -59,8 +59,8 @@ var regexMap = []RegexMapping{
|
||||
},
|
||||
{
|
||||
// Google Translate
|
||||
Pattern: regexp.MustCompile(`translate\.google\.com|lingva`),
|
||||
Targets: []string{"lingva"},
|
||||
Pattern: regexp.MustCompile(`translate\.google\.com|lingva|simplytranslate`),
|
||||
Targets: []string{"lingva", "simplytranslate"},
|
||||
},
|
||||
{
|
||||
// TikTok
|
||||
@ -92,6 +92,11 @@ var regexMap = []RegexMapping{
|
||||
Pattern: regexp.MustCompile(`stackoverflow\.com|anonymousoverflow`),
|
||||
Targets: []string{"anonymousoverflow"},
|
||||
},
|
||||
{
|
||||
// Genius
|
||||
Pattern: regexp.MustCompile(`genius\.com|dumb`),
|
||||
Targets: []string{"dumb"},
|
||||
},
|
||||
}
|
||||
|
||||
func MatchRequest(service string) (string, error) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user