This commit is contained in:
parent
5e861e3c8e
commit
c6ae2dfe5b
2
index.js
2
index.js
|
@ -578,7 +578,7 @@ var retries = 0;
|
||||||
function connectWebSocket() {
|
function connectWebSocket() {
|
||||||
console.log('Attempting to connect to WebSocket...');
|
console.log('Attempting to connect to WebSocket...');
|
||||||
const ws = new WebSocket(
|
const ws = new WebSocket(
|
||||||
config.WS_URL || "wss://iem-alerter.ko4wal.radio/iem",
|
config.WS_URL || "wss://iembot.dev/iem",
|
||||||
{
|
{
|
||||||
headers: {
|
headers: {
|
||||||
"user-agent": "IEM-Alerter-DiscordBot/1.0 (+https://git.chrischro.me/iem-alerter/discord-bot; contact: me@ko4wal.radio)"
|
"user-agent": "IEM-Alerter-DiscordBot/1.0 (+https://git.chrischro.me/iem-alerter/discord-bot; contact: me@ko4wal.radio)"
|
||||||
|
|
Loading…
Reference in a new issue