diff --git a/src/assets/javascripts/services.js b/src/assets/javascripts/services.js index f78bb2f..5fc4997 100644 --- a/src/assets/javascripts/services.js +++ b/src/assets/javascripts/services.js @@ -663,7 +663,7 @@ function reverse(url) { resolve(config.services[service].url + url.pathname + url.search) return case "fandom": - let regex = url.pathname.match(/^\/([a-zA-Z0-9-]+)\/wiki\/([a-zA-Z0-9-]+)/) + let regex = url.pathname.match(/^\/([a-zA-Z0-9-]+)\/wiki\/(.*)/) if (regex) { resolve(`https://${regex[1]}.fandom.com/wiki/${regex[2]}`) return