fix: regex was not quite working 2

Previous version had a + instead of *
+ means to match one or more
* means to match 0 or more
This commit is contained in:
silver 2024-05-24 16:13:49 +01:00
parent f55d23e821
commit e7e5d554b2
Signed by: silver
GPG key ID: 54E2C71918E93B74

View file

@ -83,7 +83,7 @@ in {
}; };
# this redirects old links to new format # this redirects old links to new format
"~* ~(?<username>[a-z_0-9]*)(?<files>.*)$" = { "~* ~(?<username>[a-z_0-9]*)(?<files>\\S*)$" = {
priority = 1; priority = 1;
return = "307 https://$username.users.skynet.ie$files"; return = "307 https://$username.users.skynet.ie$files";
}; };