refactor from pickname to newcall

This commit is contained in:
Ian Ramzy 2020-04-06 18:28:42 -04:00
parent 3fa534d2bd
commit ba23d70d63
5 changed files with 6 additions and 6 deletions

2
public/chat.html vendored
View File

@ -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>

View File

@ -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
View File

@ -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>

View File

@ -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) {