Attempt to fix CI build.
This commit is contained in:
parent
20c0de5a78
commit
27e857bcd2
14
package-lock.json
generated
14
package-lock.json
generated
@ -4,6 +4,7 @@
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "blastmud-site",
|
||||
"dependencies": {
|
||||
"xterm": "^5.1.0",
|
||||
"xterm-addon-fit": "^0.7.0",
|
||||
@ -12,6 +13,7 @@
|
||||
"devDependencies": {
|
||||
"@webpack-cli/generators": "^3.0.1",
|
||||
"ts-loader": "^9.4.2",
|
||||
"webpack-cli": "^5.0.1",
|
||||
"workbox-webpack-plugin": "^6.5.4"
|
||||
}
|
||||
},
|
||||
@ -4480,9 +4482,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/http-cache-semantics": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz",
|
||||
"integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==",
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz",
|
||||
"integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==",
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/http-proxy-agent": {
|
||||
@ -12275,9 +12277,9 @@
|
||||
}
|
||||
},
|
||||
"http-cache-semantics": {
|
||||
"version": "4.1.0",
|
||||
"resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.0.tgz",
|
||||
"integrity": "sha512-carPklcUh7ROWRK7Cv27RPtdhYhUsela/ue5/jKzjegVvXDqM2ILE9Q2BGn9JZJh1g87cp56su/FgQSzcWS8cQ==",
|
||||
"version": "4.1.1",
|
||||
"resolved": "https://registry.npmjs.org/http-cache-semantics/-/http-cache-semantics-4.1.1.tgz",
|
||||
"integrity": "sha512-er295DKPVsV82j5kw1Gjt+ADA/XYHsajl82cGNQG2eyoPkvgUhX+nDIyelzhIWbbsXP39EHcI6l5tYs2FYqYXQ==",
|
||||
"dev": true
|
||||
},
|
||||
"http-proxy-agent": {
|
||||
|
@ -7,6 +7,7 @@
|
||||
"devDependencies": {
|
||||
"@webpack-cli/generators": "^3.0.1",
|
||||
"ts-loader": "^9.4.2",
|
||||
"webpack-cli": "^5.0.1",
|
||||
"workbox-webpack-plugin": "^6.5.4"
|
||||
}
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ const params: {[key:string]: string} =
|
||||
function connectTerm() {
|
||||
lineHandler = () => {};
|
||||
term.writeln("\x1b[0mConnecting to server...");
|
||||
const wsurl = (document.localStorage['allow_wsurl'] !== true || params.wsurl === undefined) ?
|
||||
const wsurl = (window.localStorage['allow_wsurl'] !== true || params.wsurl === undefined) ?
|
||||
"wss://ws.blastmud.org/wsgame" : params.wsurl;
|
||||
let webSocket = new WebSocket(wsurl);
|
||||
webSocket.addEventListener('open', (event) => {
|
||||
|
Loading…
Reference in New Issue
Block a user