Add help page
This commit is contained in:
@ -4,6 +4,7 @@ import Login from './login/Login.jsx'
|
||||
import Home from './home/Home.jsx'
|
||||
import Import from './import/Import.jsx'
|
||||
import Admin from './admin/Admin.jsx'
|
||||
import Help from './help/Help.jsx'
|
||||
|
||||
let Elem;
|
||||
switch (window.location.pathname) {
|
||||
@ -19,6 +20,9 @@ switch (window.location.pathname) {
|
||||
case "/admin/":
|
||||
Elem = Admin;
|
||||
break;
|
||||
case "/help/":
|
||||
Elem = Help;
|
||||
break;
|
||||
default:
|
||||
window.location.pathname = "/";
|
||||
}
|
||||
|
Reference in New Issue
Block a user