1
0
Fork 0
mirror of https://github.com/benbusby/farside.git synced 2025-04-25 13:10:02 +00:00

Update breezewiki routing behavior, update readme

BreezeWiki requires the subdomain of a fandom link to be preserved when
routing, otherwise the redirect doesn't work correctly.

Cleaned up readme examples
This commit is contained in:
Ben Busby 2025-01-27 12:17:20 -07:00
parent 3d52cddc66
commit 6e64a93fd1
No known key found for this signature in database
GPG key ID: B9B7231E01D924A1
7 changed files with 33 additions and 39 deletions

View file

@ -69,7 +69,7 @@ var regexMap = []RegexMapping{
},
{
// Fandom
Pattern: regexp.MustCompile(`fandom\.com|breezewiki`),
Pattern: regexp.MustCompile(`.*fandom\.com|breezewiki`),
Targets: []string{"breezewiki"},
},
{