From 01cd91b0453f2707853d414f518d3ed4e0958e24 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sun, 8 Jan 2023 20:43:16 -0700 Subject: [PATCH] Fix route --- core/servers/content/web_handlers/activitypub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/servers/content/web_handlers/activitypub.js b/core/servers/content/web_handlers/activitypub.js index 79fd28d5..de149707 100644 --- a/core/servers/content/web_handlers/activitypub.js +++ b/core/servers/content/web_handlers/activitypub.js @@ -39,7 +39,7 @@ exports.getModule = class ActivityPubWebHandler extends WebHandlerModule { this.webServer.addRoute({ method: 'GET', - path: /^\/_enig\/ap\/users\/.+$/, + path: /^\/_enig\/ap\/users\/[^\/]+$/, handler: this._selfUrlRequestHandler.bind(this), });