From f975dd9697bc3fd96277731bfa8f71dbed960531 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karol=20S=C3=B3jko?= Date: Fri, 2 Feb 2024 13:06:52 +0100 Subject: [PATCH] fix: e2e params for max http request payload size (#1037) --- .github/ci.env | 2 ++ .github/workflows/e2e-home-server.yml | 1 + 2 files changed, 3 insertions(+) diff --git a/.github/ci.env b/.github/ci.env index 9eea1cac7..504118f27 100644 --- a/.github/ci.env +++ b/.github/ci.env @@ -28,3 +28,5 @@ AUTH_SERVER_ENCRYPTION_SERVER_KEY=1087415dfde3093797f9a7ca93a49e7d7aa1861735eb0d VALET_TOKEN_SECRET=4b886819ebe1e908077c6cae96311b48a8416bd60cc91c03060e15bdf6b30d1f SYNCING_SERVER_CONTENT_SIZE_TRANSFER_LIMIT=100000 + +HTTP_REQUEST_PAYLOAD_LIMIT_MEGABYTES=1 diff --git a/.github/workflows/e2e-home-server.yml b/.github/workflows/e2e-home-server.yml index efadb8a8b..a160fc448 100644 --- a/.github/workflows/e2e-home-server.yml +++ b/.github/workflows/e2e-home-server.yml @@ -71,6 +71,7 @@ jobs: echo "REFRESH_TOKEN_AGE=10" >> packages/home-server/.env echo "REVISIONS_FREQUENCY=2" >> packages/home-server/.env echo "CONTENT_SIZE_TRANSFER_LIMIT=100000" >> packages/home-server/.env + echo "HTTP_REQUEST_PAYLOAD_LIMIT_MEGABYTES=1" >> packages/home-server/.env echo "DB_HOST=localhost" >> packages/home-server/.env echo "DB_PORT=3306" >> packages/home-server/.env echo "DB_DATABASE=standardnotes" >> packages/home-server/.env