Skip to content

Commit

Permalink
Update src/lib/functions/registry.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Eduardo Bouças <[email protected]>
  • Loading branch information
Skn0tt and eduardoboucas authored Nov 27, 2023
1 parent cb5a139 commit a39ca0b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/functions/registry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit a39ca0b

Please sign in to comment.