You've already forked nginx-proxy-manager
mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-07-13 16:21:46 +03:00
18 lines
337 B
JavaScript
18 lines
337 B
JavaScript
'use strict';
|
|
|
|
const Mn = require('backbone.marionette');
|
|
const LoginView = require('./ui/login');
|
|
|
|
const App = Mn.Application.extend({
|
|
|
|
region: '#login',
|
|
UI: null,
|
|
|
|
onStart: function (/*app, options*/) {
|
|
this.getRegion().show(new LoginView());
|
|
}
|
|
});
|
|
|
|
const app = new App();
|
|
module.exports = app;
|