mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2024-11-27 20:07:58 +03:00
14 lines
377 B
JavaScript
14 lines
377 B
JavaScript
import {Router} from './router';
|
|
|
|
import * as login from './auth/login';
|
|
import * as register from './auth/register';
|
|
import * as panel from './panel/index';
|
|
|
|
const router = new Router();
|
|
|
|
router.register('/', login.index);
|
|
router.register('/join', register.index);
|
|
router.register('/panel/', panel.index);
|
|
router.register('/panel/layout.html/', panel.index);
|
|
|
|
router.route();
|