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 58b971e commit b58bfe9Copy full SHA for b58bfe9
public/redirect.js
@@ -2,5 +2,5 @@ const url = window.location;
2
3
if (url.pathname.includes('wiki/') && !url.pathname.includes('.html')) {
4
const redirectUrl = `${url.pathname.toLocaleLowerCase()}.html`;
5
- window.location.href = redirectUrl;
+ window.location.replace(redirectUrl);
6
}
src/pages/index.astro
@@ -83,7 +83,7 @@ const features = [
83
<div class="flex gap-6 items-center flex-col sm:flex-row">
84
<a
85
class="hover:bg-primary bg-primary-darker transition-colors duration-200 ease-in-out py-4 px-6 font-bold text-3xl uppercase rounded-lg shadow-sm"
86
- href="/nodify/wiki/getting-started"
+ href="/nodify/wiki/getting-started.html"
87
>
88
Get started
89
</a>
0 commit comments