From a39ca0ba9943003e33378dc108d9f3098181f2fe Mon Sep 17 00:00:00 2001 From: Simon Knott Date: Mon, 27 Nov 2023 16:46:31 +0100 Subject: [PATCH] Update src/lib/functions/registry.ts MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Eduardo Bouças --- src/lib/functions/registry.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/functions/registry.ts b/src/lib/functions/registry.ts index 6bbbaf6d458..3f4cf1b4dbe 100644 --- a/src/lib/functions/registry.ts +++ b/src/lib/functions/registry.ts @@ -297,7 +297,7 @@ export class FunctionsRegistry { async getFunctionForURLPath(url, method) { // We're constructing a URL object just so that we can extract the path from // the incoming URL. It doesn't really matter that we don't have the actual - // local URL with the correct port.) + // local URL with the correct port. const urlPath = new URL(`http://localhost${url}`).pathname const defaultURLMatch = urlPath.match(DEFAULT_FUNCTION_URL_EXPRESSION)