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

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

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

View File

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