We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d0905fe commit 96197e2Copy full SHA for 96197e2
nk/redirect.js
@@ -16,10 +16,12 @@ fetch('/nk/urls.md')
16
if (key && url) {
17
mappings[key.trim()] = url.trim();
18
}
19
+ console.log(key, url)
20
});
21
22
// Get the last part of the URL path
23
const path = window.location.pathname.split('/').filter(Boolean).pop();
24
+ console.log(path)
25
26
// Check if the path exists in the mappings and redirect
27
if (path in mappings) {
0 commit comments