Creating only one WS connection to pusher from admin
Also: migration to Typescript 4.5 and µWebsockets 1.20.4
This commit is contained in:
parent
4875a8fed9
commit
4cff230256
8 changed files with 206 additions and 87 deletions
9
pusher/src/Controller/InvalidTokenError.ts
Normal file
9
pusher/src/Controller/InvalidTokenError.ts
Normal file
|
@ -0,0 +1,9 @@
|
|||
/**
|
||||
* Errors related to variable handling.
|
||||
*/
|
||||
export class InvalidTokenError extends Error {
|
||||
constructor(message: string) {
|
||||
super(message);
|
||||
Object.setPrototypeOf(this, InvalidTokenError.prototype);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue