spec(backend/fastify): set maxParamLength to 1024 (MisskeyIO#933)
This commit is contained in:
parent
155ce4094f
commit
16ad48a1eb
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue