Merge pull request 'fixed main url' (#53) from url-fix into master
All checks were successful
🚀 Deploy website on push / 🎉 Deploy (push) Successful in 33s
All checks were successful
🚀 Deploy website on push / 🎉 Deploy (push) Successful in 33s
Reviewed-on: #53
This commit is contained in:
commit
430e1c65ca
@ -38,7 +38,7 @@ function goToURL(url)
|
|||||||
document.querySelector('#cookiePopup').classList.add('hidden');
|
document.querySelector('#cookiePopup').classList.add('hidden');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (url === '/blog' || url === 'blog')
|
if (url === '/blog' || url === 'blog' || url === '/blog/')
|
||||||
{
|
{
|
||||||
loadHomeContent();
|
loadHomeContent();
|
||||||
// window.history.pushState(null, null, url);
|
// window.history.pushState(null, null, url);
|
||||||
|
Loading…
Reference in New Issue
Block a user