gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-wallet-core] 04/05: fix https on port 8081


From: gnunet
Subject: [taler-wallet-core] 04/05: fix https on port 8081
Date: Mon, 03 Apr 2023 17:29:39 +0200

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository wallet-core.

commit 1e94777aa983cf5309ba738efd6f7689db20b92c
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Apr 3 12:14:25 2023 -0300

    fix https on port 8081
---
 packages/web-util/src/live-reload.ts | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/packages/web-util/src/live-reload.ts 
b/packages/web-util/src/live-reload.ts
index b65d472c1..8e5e7da71 100644
--- a/packages/web-util/src/live-reload.ts
+++ b/packages/web-util/src/live-reload.ts
@@ -2,7 +2,8 @@
 
 function setupLiveReload(): void {
   const protocol = window.location.protocol === "http:" ? "ws:" : "wss:";
-  const ws = new WebSocket(`${protocol}//localhost:8080/ws`);
+  const port = window.location.protocol === "http:" ? "8080" : "8081";
+  const ws = new WebSocket(`${protocol}//localhost:${port}/ws`);
 
   ws.addEventListener("message", (message) => {
     try {

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]