From 9e0bfebe719ce0d183ffca1604f89aa91b79d248 Mon Sep 17 00:00:00 2001 From: Azalea <22280294+hykilpikonna@users.noreply.github.com> Date: Mon, 18 Nov 2024 00:58:32 -0500 Subject: [PATCH] [F] Fix max header size --- .gitignore | 1 + README.md | 2 +- src/main/resources/application.properties | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 98805fd..af6c695 100644 --- a/.gitignore +++ b/.gitignore @@ -29,3 +29,4 @@ secrets.json test.sqlite data/mysql data/geoip +bin/ \ No newline at end of file diff --git a/README.md b/README.md index d4eec58..1990b42 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ 2. In `data/secrets`, copy `sample-secrets.json` to `secrets.json` 3. Edit `secrets.json` 4. In `docker-compose.yml`, change `build: .` to `image: ghcr.io/one-among-us/backend:main` if you don't want to build locally. -4. `docker-compose up -d` +5. `docker-compose up -d` ### Update Existing Deploy diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 9f0da29..4f65bee 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -10,3 +10,4 @@ spring.jpa.hibernate.ddl-auto=update # https://blog.csdn.net/qq_35981283/article/details/88994092 spring.jpa.open-in-view=true server.port=43482 +server.max-http-header-size=10MB