mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
tidied
This commit is contained in:
parent
4ffa8c0e8e
commit
8ba1a02f29
4
node_modules/frontdoor/lib/section.js
generated
vendored
4
node_modules/frontdoor/lib/section.js
generated
vendored
@ -83,13 +83,13 @@ module.exports = function Section(name, description, types) {
|
||||
return section;
|
||||
};
|
||||
|
||||
this.mount = function( name, section ){
|
||||
this.mount = function(name, section) {
|
||||
if (!sections[name])
|
||||
sections[name] = [];
|
||||
|
||||
sections[name].push(section);
|
||||
};
|
||||
|
||||
|
||||
this._rootHandler = function(req, res) {
|
||||
this.handle(req, res, function(err) {
|
||||
if (err) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user