redirect to the new URL when loaded from the old URL
This commit is contained in:
parent
c2f8762d9f
commit
3995968928
|
|
@ -1260,6 +1260,14 @@ $(function (){
|
||||||
$(window).on('resize', fixSafariPadding);
|
$(window).on('resize', fixSafariPadding);
|
||||||
fixSafariPadding();
|
fixSafariPadding();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
(function() {
|
||||||
|
const match = location.href.match('^https://jessemcdonald.info/~nybble/paco_sako/(.*)');
|
||||||
|
if (match) {
|
||||||
|
/* Redirect to the new URL */
|
||||||
|
location.href = `https://pacosako.jessemcdonald.info/${match[1]}`;
|
||||||
|
}
|
||||||
|
})();
|
||||||
});
|
});
|
||||||
|
|
||||||
/* vim:set expandtab sw=3 ts=8: */
|
/* vim:set expandtab sw=3 ts=8: */
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue