Access lists shell, redirections work

This commit is contained in:
Jamie Curnow committed 2018-07-24 16:56:39 +10:00
1 parent 9da4f8ae87
commit 2a0c83433e
43 files changed
+2094 -178

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
'use strict';
const Backbone = require('backbone');
const model = Backbone.Model.extend({
idAttribute: 'id',
defaults: function () {
return {
id: 0,
created_on: null,
modified_on: null,
// The following are expansions:
owner: null
};
}
});
module.exports = {
Model: model,
Collection: Backbone.Collection.extend({
model: model
})
};
+1 -1
View File
@@ -13,7 +13,7 @@ const model = Backbone.Model.extend({
domain_names: [],
forward_ip: '',
forward_port: null,
access_list_id: null,
access_list_id: 0,
ssl_enabled: false,
ssl_provider: false,
ssl_forced: false,
+6 -4
View File
@@ -10,14 +10,16 @@ const model = Backbone.Model.extend({
id: 0,
created_on: null,
modified_on: null,
owner: null,
domain_name: '',
domain_names: [],
forward_domain_name: '',
preserve_path: false,
preserve_path: true,
ssl_enabled: false,
ssl_provider: false,
ssl_forced: false,
block_exploits: false,
meta: []
meta: {},
// The following are expansions:
owner: null
};
}
});