fix(web): дождаться ответа backend при длительной speed-команде

This commit is contained in:
Denozordec committed 2026-10-08 09:38:17 +07:00
1 parent fc1a60d413
commit aa7dbdf608
8 files changed
+117 -4

No files matched your search

+3
View File
@@ -5,6 +5,9 @@ const nextConfig: NextConfig = {
output: "standalone",
experimental: {
proxyClientMaxBodySize: "512mb",
// Speed commands include RouterOS waits and post-test Ping; the UI allows 120s.
// Let the backend return its structured outcome before the rewrite times out.
proxyTimeout: 180_000,
},
async rewrites() {
const backendUrl = backendInternalUrl();