diff --git a/public/app.js b/public/app.js index f87a306..78db93a 100644 --- a/public/app.js +++ b/public/app.js @@ -4650,7 +4650,7 @@ function setupChatEvents() { const fileList = Array.from(files); const MAX_FILES = 10; - const MAX_TOTAL_SIZE = 25 * 1024 * 1024; // 25MB + const MAX_TOTAL_SIZE = 100 * 1024 * 1024; // 100MB if (currentAttachments.length + fileList.length > MAX_FILES) { alert(`Você pode anexar no máximo ${MAX_FILES} arquivos simultaneamente.`); @@ -4662,7 +4662,7 @@ function setupChatEvents() { for (const file of fileList) { if (currentTotalSize + file.size > MAX_TOTAL_SIZE) { - alert(`O arquivo "${file.name}" excede o limite máximo total de 25MB.`); + alert(`O arquivo "${file.name}" excede o limite máximo total de 100MB.`); continue; } diff --git a/public/bundles/bundle-1.0.30.zip b/public/bundles/bundle-1.0.30.zip index 7d8f027..ec77cae 100644 Binary files a/public/bundles/bundle-1.0.30.zip and b/public/bundles/bundle-1.0.30.zip differ diff --git a/public/bundles/bundle-latest.zip b/public/bundles/bundle-latest.zip index 7d8f027..ec77cae 100644 Binary files a/public/bundles/bundle-latest.zip and b/public/bundles/bundle-latest.zip differ diff --git a/public/bundles/manifest.json b/public/bundles/manifest.json index d4e4265..8a40853 100644 --- a/public/bundles/manifest.json +++ b/public/bundles/manifest.json @@ -1,9 +1,9 @@ { "version": "1.0.30", - "buildId": "45eaf454", - "releasedAt": "2026-11-22T01:43:27.381Z", + "buildId": "2b19b259", + "releasedAt": "2026-11-22T01:45:51.720Z", "bundleUrl": "/bundles/bundle-1.0.30.zip", "latestUrl": "/bundles/bundle-latest.zip", - "checksum": "484c403ff165b0c3571811cff21e8c7d891494138431f56fbe924b3fbb0590ad", - "sizeBytes": 74103 + "checksum": "51f053551f194cc6c082dedbbab16fc05a50ab5c81e8b497131e723c0e3c48ce", + "sizeBytes": 74104 } \ No newline at end of file diff --git a/public/maestri-agent.zip b/public/maestri-agent.zip index 0ef9182..ab6542b 100644 Binary files a/public/maestri-agent.zip and b/public/maestri-agent.zip differ diff --git a/public/maestri-remote.apk b/public/maestri-remote.apk index 2a95467..2e556e0 100644 Binary files a/public/maestri-remote.apk and b/public/maestri-remote.apk differ diff --git a/src/gateway/daemon.js b/src/gateway/daemon.js index acf78a1..79a52cf 100644 --- a/src/gateway/daemon.js +++ b/src/gateway/daemon.js @@ -157,7 +157,7 @@ export class GatewayDaemon { } console.log(`[Gateway] Conectando ao Relay Server em ${this.relayUrl}...`); - this.ws = new WebSocket(this.relayUrl); + this.ws = new WebSocket(this.relayUrl, { maxPayload: 150 * 1024 * 1024 }); this.ws.on('open', () => { console.log('[Gateway] Conectado com sucesso ao Relay Server!'); diff --git a/src/relay/server.js b/src/relay/server.js index 872eb6e..f0eeace 100644 --- a/src/relay/server.js +++ b/src/relay/server.js @@ -82,8 +82,8 @@ const server = http.createServer(createRelayHttpHandler({ })); // Setup dos Servidores WebSocket -const wssGateway = new WebSocketServer({ noServer: true }); -const wssClient = new WebSocketServer({ noServer: true }); +const wssGateway = new WebSocketServer({ noServer: true, maxPayload: 150 * 1024 * 1024 }); +const wssClient = new WebSocketServer({ noServer: true, maxPayload: 150 * 1024 * 1024 }); server.on('upgrade', (request, socket, head) => { const { pathname } = new URL(request.url, `http://${request.headers.host}`);