mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 22:40:01 -04:00
dos2unix
This commit is contained in:
parent
b91d4ad6cd
commit
c6f7c4ecbb
17 changed files with 1539 additions and 1539 deletions
|
@ -1,16 +1,16 @@
|
|||
import { BareClient } from "../shared";
|
||||
const client = new BareClient();
|
||||
|
||||
WebSocket = new Proxy(WebSocket, {
|
||||
construct(target, args) {
|
||||
return client.createWebSocket(
|
||||
args[0],
|
||||
args[1],
|
||||
target,
|
||||
{
|
||||
"User-Agent": navigator.userAgent
|
||||
},
|
||||
ArrayBuffer.prototype
|
||||
)
|
||||
}
|
||||
import { BareClient } from "../shared";
|
||||
const client = new BareClient();
|
||||
|
||||
WebSocket = new Proxy(WebSocket, {
|
||||
construct(target, args) {
|
||||
return client.createWebSocket(
|
||||
args[0],
|
||||
args[1],
|
||||
target,
|
||||
{
|
||||
"User-Agent": navigator.userAgent
|
||||
},
|
||||
ArrayBuffer.prototype
|
||||
)
|
||||
}
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue