add not found script

This commit is contained in:
AlecM33
2021-12-28 18:04:23 -05:00
parent 60359f66e0
commit cb541c8bf0
3 changed files with 13 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
import { injectNavbar } from "../modules/Navbar.js";
const notFound = () => { injectNavbar(); };
if (typeof module !== 'undefined' && typeof module.exports !== 'undefined') {
module.exports = notFound;
} else {
notFound();
}