From 802f8011dcdce2950032ab71352e0c7b8a6d43cc Mon Sep 17 00:00:00 2001 From: Yarmo Mackenbach Date: Fri, 7 Oct 2022 10:20:02 +0200 Subject: [PATCH] Add superuser URL detection --- src/claimDefinitions/stackexchange.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/claimDefinitions/stackexchange.js b/src/claimDefinitions/stackexchange.js index a923b39..478a7f3 100644 --- a/src/claimDefinitions/stackexchange.js +++ b/src/claimDefinitions/stackexchange.js @@ -15,7 +15,7 @@ limitations under the License. */ const E = require('../enums') -const reURI = /^https:\/\/(.*(?:askubuntu|mathoverflow|serverfault|stackapps|stackoverflow)|.+\.stackexchange)\.com\/users\/(\d+)/ +const reURI = /^https:\/\/(.*(?:askubuntu|mathoverflow|serverfault|stackapps|stackoverflow|superuser)|.+\.stackexchange)\.com\/users\/(\d+)/ const reStackExchange = /\.stackexchange$/ const processURI = (uri) => {