Skip to content

Commit 7d2683a

Browse files
WebSocket Temporary Disable for Deployment
Co-authored-by: Isaac Mbambo <isaac.m00101@gmail.com>
1 parent dcb7bb2 commit 7d2683a

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/client/components/main/WebRTC-composer/WebRTCSessionEntryForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ const WebRTCSessionEntryForm: React.FC<Props> = (props: Props) => {
8383
Manual
8484
</a>
8585
)}
86-
86+
{/* //use this if you want to enable websocket feature as signaling server
8787
{newRequestWebRTC.webRTCEntryMode !== 'WS' && (
8888
<a
8989
onClick={() => {
@@ -99,7 +99,7 @@ const WebRTCSessionEntryForm: React.FC<Props> = (props: Props) => {
9999
>
100100
WS
101101
</a>
102-
)}
102+
)} */}
103103
</ul>
104104
</div>
105105
<input

src/client/components/navbar/ProtocolSelect.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,12 @@ const pages: page[] = [
7373
{ name: 'WebSocket', route: '/websocket', value: 'ws' },
7474
{ name: 'gRPC', route: '/grpc', value: 'grpc' },
7575
{ name: 'tRPC', route: '/trpc', value: 'tRPC' },
76+
{ name: 'WebRTC', route: '/webrtc', value: 'webrtc' },
7677
];
7778

7879
const experimentalPages: page[] = [
7980
{ name: 'Mock', route: '/mockserver', value: 'mockserver' },
8081
{ name: 'Webhook', route: '/webhook', value: 'webhook' },
81-
{ name: 'WebRTC', route: '/webrtc', value: 'webrtc' },
8282
{ name: 'OpenAPI', route: '/openapi', value: 'openapi' },
8383
];
8484

@@ -159,7 +159,7 @@ function ProtocolSelect() {
159159
to having a fully functional application for any user to download and use. Some experimentals
160160
are closer to fully-functional more than others and if they do get fleshed out they can be added
161161
to the other set of functional features*/
162-
162+
163163
return (
164164
<Box
165165
key="page-selector"

0 commit comments

Comments
 (0)