This commit is contained in:
Madeline
2022-09-26 22:41:21 +10:00
parent fcc0884e36
commit 99ee7e9400
280 changed files with 6800 additions and 3908 deletions
+10 -2
View File
@@ -11,7 +11,15 @@ export class Server {
public server: http.Server;
public production: boolean;
constructor({ port, server, production }: { port: number; server?: http.Server; production?: boolean }) {
constructor({
port,
server,
production,
}: {
port: number;
server?: http.Server;
production?: boolean;
}) {
this.port = port;
this.production = production || false;
@@ -53,4 +61,4 @@ export class Server {
closeDatabase();
this.server.close();
}
}
}