mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-08-07 09:53:38 +00:00
22 lines
843 B
JavaScript
22 lines
843 B
JavaScript
const AppRouter = require('marionette.approuter');
|
|
const Controller = require('./controller');
|
|
|
|
module.exports = AppRouter.default.extend({
|
|
controller: Controller,
|
|
appRoutes: {
|
|
users: 'showUsers',
|
|
logout: 'logout',
|
|
'nginx/proxy': 'showNginxProxy',
|
|
'nginx/redirection': 'showNginxRedirection',
|
|
'nginx/404': 'showNginxDead',
|
|
'nginx/stream': 'showNginxStream',
|
|
'nginx/access': 'showNginxAccess',
|
|
'nginx/certificates': 'showNginxCertificates',
|
|
'audit-log': 'showAuditLog',
|
|
'openappsec-log': 'showOpenappsecLogPage',
|
|
'openappsec-log/page/:number': 'showOpenappsecLogPage',
|
|
'settings': 'showSettings',
|
|
'*default': 'showDashboard'
|
|
}
|
|
});
|