Skip to content

Commit

Permalink
changed port with global link
Browse files Browse the repository at this point in the history
  • Loading branch information
sayandippaul committed Dec 8, 2023
1 parent 13a0ded commit 0a03c2b
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 4 deletions.
3 changes: 2 additions & 1 deletion views/chat.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -1177,8 +1177,9 @@ background-image: url("chatpage/swipeicon.png");
</html>
<script>
var url="http://localhost:3000";
{{!-- var url="http://localhost:3000"; --}}
var url="https://dropling.onrender.com";
if(localStorage.getItem("toid")=="null"){
window.location.replace("contact");
Expand Down
4 changes: 3 additions & 1 deletion views/contact.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,9 @@ $(window).on('keydown', function(e) {
return false;
}
});
var url="http://localhost:3000";
{{!-- var url="http://localhost:3000"; --}}
var url="https://dropling.onrender.com";
var socket=io('/user',{
auth:{
toid:localStorage.getItem(("toid")),
Expand Down
4 changes: 3 additions & 1 deletion views/login.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,9 @@ button.onclick = () => {
} --}}
var url="http://localhost:3000";
{{!-- var url="http://localhost:3000"; --}}
var url="https://dropling.onrender.com";
function sendmailforgotpassword() {
var email=document.getElementById("email").value;
if(email.trim()!=""){
Expand Down
4 changes: 3 additions & 1 deletion views/register.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,9 @@
</div>
<script>
var url="http://localhost:3000";
{{!-- var url="http://localhost:3000"; --}}
var url="https://dropling.onrender.com";
const pass_field = document.querySelector('.pass-key');
const showBtn = document.querySelector('.show');
showBtn.addEventListener('click', function(){
Expand Down

0 comments on commit 0a03c2b

Please sign in to comment.