mirror of
https://github.com/ianramzy/decentralized-video-chat.git
synced 2024-11-23 02:29: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">
|
||||
<button
|
||||
class="hoverButton"
|
||||
onclick="{window.location.href = '/pickname'}"
|
||||
onclick="{window.location.href = '/newcall'}"
|
||||
>
|
||||
<i class="fas fa-phone-slash fa-xs"></i>
|
||||
</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"
|
||||
);
|
||||
// Exit room and redirect
|
||||
window.location.href = "/pickname";
|
||||
window.location.href = "/newcall";
|
||||
}
|
||||
|
||||
// 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%
|
||||
);
|
||||
"
|
||||
href="/pickname"
|
||||
href="/newcall"
|
||||
>Try now</a
|
||||
>
|
||||
</div>
|
||||
@ -331,7 +331,7 @@
|
||||
#ffc55a 100%
|
||||
);
|
||||
"
|
||||
href="/pickname"
|
||||
href="/newcall"
|
||||
>Try now</a
|
||||
>
|
||||
</div>
|
||||
|
@ -31,8 +31,8 @@ app.get("/", function (req, res) {
|
||||
res.sendFile(path.join(public, "landing.html"));
|
||||
});
|
||||
|
||||
app.get("/pickname", function (req, res) {
|
||||
res.sendFile(path.join(public, "pickname.html"));
|
||||
app.get("/newcall", function (req, res) {
|
||||
res.sendFile(path.join(public, "newcall.html"));
|
||||
});
|
||||
|
||||
app.get("/join/", function (req, res) {
|
||||
|
Loading…
Reference in New Issue
Block a user