tweak: Update ws URL and channel name
This commit is contained in:
+4
-4
@@ -2,7 +2,7 @@ window.addEventListener("DOMContentLoaded", () => {
|
||||
//Create progress bar
|
||||
const book_bar = new ProgressBar();
|
||||
//Pat Lilac
|
||||
const websocket = new ReconnectingWebSocket("wss://lilac.thewisewolf.dev/campaigns/partnerplus2026/ws");
|
||||
const websocket = new ReconnectingWebSocket("wss://lilac.thewisewolf.dev/tracker/timer/ws");
|
||||
communicate(websocket, book_bar);
|
||||
});
|
||||
|
||||
@@ -47,7 +47,7 @@ class ProgressBar {
|
||||
}
|
||||
}
|
||||
//TEST ANIMATION
|
||||
|
||||
|
||||
simProgress() {
|
||||
if (this.current_progress < this.max_progress) {
|
||||
this.setProgress(this.current_progress + 1);
|
||||
@@ -58,7 +58,7 @@ class ProgressBar {
|
||||
setTimeout(this.simProgress.bind(this), 5500);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
class ReconnectingWebSocket {
|
||||
@@ -158,7 +158,7 @@ function communicate(websocket, book_bar) {
|
||||
JSON.stringify(
|
||||
{
|
||||
type: "init",
|
||||
channel: "SubTimer",
|
||||
channel: "CampaignRewards",
|
||||
community: params.get('community')
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user