You've already forked nginx-proxy-manager
mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-15 03:41:48 +03:00
23 lines
663 B
JavaScript
23 lines
663 B
JavaScript
'use strict';
|
|
|
|
const Mn = require('../lib/marionette');
|
|
const Controller = require('./controller');
|
|
|
|
module.exports = Mn.AppRouter.extend({
|
|
appRoutes: {
|
|
users: 'showUsers',
|
|
profile: 'showProfile',
|
|
logout: 'logout',
|
|
'nginx/proxy': 'showNginxProxy',
|
|
'nginx/redirection': 'showNginxRedirection',
|
|
'nginx/404': 'showNginxDead',
|
|
'nginx/stream': 'showNginxStream',
|
|
'nginx/access': 'showNginxAccess',
|
|
'*default': 'showDashboard'
|
|
},
|
|
|
|
initialize: function () {
|
|
this.controller = Controller;
|
|
}
|
|
});
|