[mirotalk] - store peer_name in localStorage + update dep.
This commit is contained in:
+2
-2
@@ -32,8 +32,8 @@
|
||||
"ngrok": "^4.3.1",
|
||||
"qs": "^6.11.0",
|
||||
"socket.io": "^4.5.1",
|
||||
"@sentry/node": "^7.9.0",
|
||||
"@sentry/integrations": "^7.9.0",
|
||||
"@sentry/node": "^7.10.0",
|
||||
"@sentry/integrations": "^7.10.0",
|
||||
"swagger-ui-express": "^4.5.0",
|
||||
"uuid": "8.3.2",
|
||||
"yamljs": "^0.3.0"
|
||||
|
||||
@@ -785,6 +785,7 @@ async function whoAreYou() {
|
||||
imageUrl: welcomeImg,
|
||||
title: 'Enter your name',
|
||||
input: 'text',
|
||||
inputValue: window.localStorage.peer_name ? window.localStorage.peer_name : '',
|
||||
html: `<br>
|
||||
<div style="overflow: hidden;">
|
||||
<button id="initAudioBtn" class="fas fa-microphone" onclick="handleAudio(event, true)"></button>
|
||||
@@ -800,6 +801,7 @@ async function whoAreYou() {
|
||||
inputValidator: (value) => {
|
||||
if (!value) return 'Please enter your name';
|
||||
myPeerName = value;
|
||||
window.localStorage.peer_name = myPeerName;
|
||||
whoAreYouJoin();
|
||||
},
|
||||
}).then(() => {
|
||||
|
||||
Reference in New Issue
Block a user