Merge branch 'v2' of github.com:jc21/nginx-proxy-manager
This commit is contained in:
@@ -1,22 +0,0 @@
|
||||
'use strict';
|
||||
|
||||
const Backbone = require('backbone');
|
||||
|
||||
const model = Backbone.Model.extend({
|
||||
idAttribute: '_id',
|
||||
|
||||
defaults: function () {
|
||||
return {
|
||||
name: '',
|
||||
items: [],
|
||||
hosts: []
|
||||
};
|
||||
}
|
||||
});
|
||||
|
||||
module.exports = {
|
||||
Model: model,
|
||||
Collection: Backbone.Collection.extend({
|
||||
model: model
|
||||
})
|
||||
};
|
||||
Reference in New Issue
Block a user