Update killSwitch proto definitions
The protocol buffers definitions have been obtained from the TWPT server
repo.
Bug: twpowertools:162
Change-Id: Ia5cc44be28e2bc6c1054484c04c197b9b6852318
diff --git a/src/killSwitch/api_proto/kill_switch_grpc_web_pb.js b/src/killSwitch/api_proto/kill_switch_grpc_web_pb.js
index d422d74..47aeb29 100644
--- a/src/killSwitch/api_proto/kill_switch_grpc_web_pb.js
+++ b/src/killSwitch/api_proto/kill_switch_grpc_web_pb.js
@@ -4,7 +4,11 @@
* @public
*/
-// GENERATED CODE -- DO NOT EDIT!
+// Code generated by protoc-gen-grpc-web. DO NOT EDIT.
+// versions:
+// protoc-gen-grpc-web v1.4.2
+// protoc v3.21.12
+// source: api_proto/kill_switch.proto
/* eslint-disable */
@@ -42,7 +46,7 @@
/**
* @private @const {string} The hostname
*/
- this.hostname_ = hostname;
+ this.hostname_ = hostname.replace(/\/+$/, '');
};
@@ -68,7 +72,7 @@
/**
* @private @const {string} The hostname
*/
- this.hostname_ = hostname;
+ this.hostname_ = hostname.replace(/\/+$/, '');
};