Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions backend/models/dead_host.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ Model.knex(db);

const boolFields = [
'is_deleted',
'ssl_forced',
'http2_support',
'enabled',
'hsts_enabled',
'hsts_subdomains',
];

class DeadHost extends Model {
Expand Down
2 changes: 1 addition & 1 deletion backend/models/stream.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ const now = require('./now_helper');
Model.knex(db);

const boolFields = [
'enabled',
'is_deleted',
'enabled',
'tcp_forwarding',
'udp_forwarding',
];
Expand Down
3 changes: 1 addition & 2 deletions backend/schema/components/proxy-host-object.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
"enabled",
"locations",
"hsts_enabled",
"hsts_subdomains",
"certificate"
"hsts_subdomains"
],
"additionalProperties": false,
"properties": {
Expand Down
9 changes: 9 additions & 0 deletions backend/schema/swagger.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,15 @@
"url": "http://127.0.0.1:81/api"
}
],
"components": {
"securitySchemes": {
"bearerAuth": {
"type": "http",
"scheme": "bearer",
"bearerFormat": "JWT"
}
}
},
"paths": {
"/": {
"get": {
Expand Down