mirror of
https://github.com/spacebarchat/server.git
synced 2026-10-23 13:03:08 +00:00
lambert-server: Remove unused jsonBody option
This commit is contained in:
1 parent
894bfbe6d4
commit
5445706dcf
2 files changed
+1
-3
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user