variable renaming + update translation keys + additional unit tests

This commit is contained in:
PoleTransformer
2025-03-30 15:23:29 -07:00
parent 5bc9a0d64a
commit e3e019ce37
7 changed files with 158 additions and 91 deletions
+4 -4
View File
@@ -96,8 +96,8 @@ class Monitor extends BeanModel {
parent: this.parent,
childrenIDs: preloadData.childrenIDs.get(this.id) || [],
url: this.url,
wsIgnoreHeaders: this.getWsIgnoreHeaders(),
subprotocol: this.subprotocol,
wsIgnoreSecWebsocketAcceptHeader: this.getWsIgnoreSecWebsocketAcceptHeader(),
wsSubprotocol: this.wsSubprotocol,
method: this.method,
hostname: this.hostname,
port: this.port,
@@ -261,8 +261,8 @@ class Monitor extends BeanModel {
* Parse to boolean
* @returns {boolean} Should WS headers be ignored?
*/
getWsIgnoreHeaders() {
return Boolean(this.wsIgnoreHeaders);
getWsIgnoreSecWebsocketAcceptHeader() {
return Boolean(this.wsIgnoreSecWebsocketAcceptHeader);
}
/**