lambert-server: Remove unused jsonBody option

This commit is contained in:
Rory& committed 2026-03-21 14:51:46 +01:00
1 parent 894bfbe6d4
commit 5445706dcf
2 files changed
+1 -3

No files matched your search

-2
View File
@@ -7,7 +7,6 @@ export type ServerOptions = {
host: string;
production: boolean;
serverInitLogging: boolean;
jsonBody: boolean;
server: http.Server;
app: Application;
};
@@ -24,7 +23,6 @@ export class Server {
if (!opts.host) opts.host = "0.0.0.0";
if (opts.production == null) opts.production = false;
if (opts.serverInitLogging == null) opts.serverInitLogging = true;
if (opts.jsonBody == null) opts.jsonBody = true;
if (opts.server) this.http = opts.server;
this.options = <ServerOptions>opts;