mirror of
https://github.com/ianramzy/decentralized-video-chat.git
synced 2024-11-23 10:39:20 +08:00
refactor from pickname to newcall
This commit is contained in:
parent
3fa534d2bd
commit
ba23d70d63
2
public/chat.html
vendored
2
public/chat.html
vendored
@ -118,7 +118,7 @@
|
|||||||
<div class="buttonContainer">
|
<div class="buttonContainer">
|
||||||
<button
|
<button
|
||||||
class="hoverButton"
|
class="hoverButton"
|
||||||
onclick="{window.location.href = '/pickname'}"
|
onclick="{window.location.href = '/newcall'}"
|
||||||
>
|
>
|
||||||
<i class="fas fa-phone-slash fa-xs"></i>
|
<i class="fas fa-phone-slash fa-xs"></i>
|
||||||
</button>
|
</button>
|
||||||
|
@ -350,7 +350,7 @@ function chatRoomFull() {
|
|||||||
"Chat room is full. Check to make sure you don't have multiple open tabs, or try with a new room link"
|
"Chat room is full. Check to make sure you don't have multiple open tabs, or try with a new room link"
|
||||||
);
|
);
|
||||||
// Exit room and redirect
|
// Exit room and redirect
|
||||||
window.location.href = "/pickname";
|
window.location.href = "/newcall";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Reposition local video to top left of remote video
|
// Reposition local video to top left of remote video
|
||||||
|
4
public/landing.html
vendored
4
public/landing.html
vendored
@ -92,7 +92,7 @@
|
|||||||
#ffc55a 100%
|
#ffc55a 100%
|
||||||
);
|
);
|
||||||
"
|
"
|
||||||
href="/pickname"
|
href="/newcall"
|
||||||
>Try now</a
|
>Try now</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@ -331,7 +331,7 @@
|
|||||||
#ffc55a 100%
|
#ffc55a 100%
|
||||||
);
|
);
|
||||||
"
|
"
|
||||||
href="/pickname"
|
href="/newcall"
|
||||||
>Try now</a
|
>Try now</a
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
|
@ -31,8 +31,8 @@ app.get("/", function (req, res) {
|
|||||||
res.sendFile(path.join(public, "landing.html"));
|
res.sendFile(path.join(public, "landing.html"));
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/pickname", function (req, res) {
|
app.get("/newcall", function (req, res) {
|
||||||
res.sendFile(path.join(public, "pickname.html"));
|
res.sendFile(path.join(public, "newcall.html"));
|
||||||
});
|
});
|
||||||
|
|
||||||
app.get("/join/", function (req, res) {
|
app.get("/join/", function (req, res) {
|
||||||
|
Loading…
Reference in New Issue
Block a user