From 5d1d67836cd05684b0ca2d6a0b2afab43ccdbbf8 Mon Sep 17 00:00:00 2001 From: zeyus Date: Thu, 7 Nov 2024 16:02:15 +0100 Subject: [PATCH] remove no longer relevaant attribution. --- node/src/hit-counter.ts | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/node/src/hit-counter.ts b/node/src/hit-counter.ts index 7ee0c7b..fc1c70d 100644 --- a/node/src/hit-counter.ts +++ b/node/src/hit-counter.ts @@ -123,18 +123,13 @@ function extToFormat(ext: string): keyof FormatEnum { } /** - * Determine whether the given `path` is a http(s) URL. This method - * accepts a string value and a URL instance. + * Check if a path is a web URI. * - * inspiration: - * Marcus Pöhls - * https://futurestud.io/tutorials/node-js-check-if-a-path-is-a-file-url - * * @param {String|URL} path - * The path to check. - * + * The path to check. + * * @returns {Boolean} - * True if the path is a web URI, false otherwise. + * Whether the path is a web URI. */ function isWebURI(path: string | URL): boolean { try {