diff --git a/tools/devserver/src/main/java/org/teavm/devserver/ProxyWsClient.java b/tools/devserver/src/main/java/org/teavm/devserver/ProxyWsClient.java index 61f89cfed..e5975a8ca 100644 --- a/tools/devserver/src/main/java/org/teavm/devserver/ProxyWsClient.java +++ b/tools/devserver/src/main/java/org/teavm/devserver/ProxyWsClient.java @@ -43,6 +43,8 @@ public class ProxyWsClient { @OnWebSocketConnect public void connect(Session session) { + session.getPolicy().setMaxBinaryMessageSize(100_000_000); + session.getPolicy().setMaxTextMessageSize(100_000_000); this.session = session; flush(); if (target != null) {