mirror of
https://github.com/AlecM33/Werewolf.git
synced 2025-12-28 00:37:50 +01:00
add not found script
This commit is contained in:
9
client/src/scripts/notFound.js
Normal file
9
client/src/scripts/notFound.js
Normal 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();
|
||||
}
|
||||
Reference in New Issue
Block a user