forked from seth/ipv4.army
use env for hyperate token
This commit is contained in:
parent
c2f14b70e7
commit
4cd9b4eaca
2 changed files with 3 additions and 1 deletions
|
@ -8,7 +8,7 @@ export default class {
|
|||
|
||||
constructor(callback: (data: number) => void) {
|
||||
this._socket = new ReconnectingWebSocket(
|
||||
"wss://app.hyperate.io/socket/websocket?token=wv39nM6iyrNJulvpmMQrimYPIXy2dVrYRjkuHpbRapKT2VSh65ngDGHdCdCtmEN9",
|
||||
`wss://app.hyperate.io/socket/websocket?token=${process.env.HYPERATE_TOKEN}`,
|
||||
);
|
||||
this._keepAlive = null;
|
||||
this._interval = null;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue