Skip to content

Commit 0027b50

Browse files
committed
Make the ACTWS hack more flexible
1 parent 7647a7c commit 0027b50

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

OverlayPlugin.Core/Overlays/MiniParseOverlay.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ private void PrepareWebsite(object sender, BrowserLoadEventArgs e)
172172
window.overlayWindowId = 'ACTWS_shim';
173173
174174
window.WebSocket = function(url) {
175-
if (url.indexOf('ws://127.0.0.1/fake/') > -1)
175+
if (url.indexOf('ws://127.0.0.1/') > -1)
176176
{
177177
window.__OverlayPlugin_ws_faker = (msg) => {
178178
if (this.onmessage) this.onmessage({ data: JSON.stringify(msg) });

0 commit comments

Comments
 (0)