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 24671c7 commit 3191a94Copy full SHA for 3191a94
nk/redirect.js
@@ -1,5 +1,5 @@
1
// Fetch the content of the 'urls.md' file
2
-fetch('urls.md')
+fetch('/urls.md')
3
.then(response => {
4
if (!response.ok) {
5
throw new Error('Network response was not ok ' + response.statusText);
@@ -31,4 +31,4 @@ fetch('urls.md')
31
.catch(error => {
32
console.error('There was a problem with the fetch operation:', error);
33
document.body.innerHTML = '<h1>Error loading redirection data</h1>';
34
- });
+ });
0 commit comments