spec(backend/fastify): set maxParamLength to 1024 (MisskeyIO#933)

This commit is contained in:
あわわわとーにゅ 2025-02-02 08:33:59 +09:00 committed by GitHub
parent 155ce4094f
commit 16ad48a1eb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -78,8 +78,9 @@ export class ServerService implements OnApplicationShutdown {
@bindThis @bindThis
public async launch(): Promise<void> { public async launch(): Promise<void> {
const fastify = Fastify({ const fastify = Fastify({
trustProxy: true,
logger: false, logger: false,
maxParamLength: 1024,
trustProxy: true,
}); });
this.#fastify = fastify; this.#fastify = fastify;