Makes server readonly.

This commit is contained in:
Henning Dieterichs
2020-05-13 00:11:08 +02:00
parent 0a65f6425e
commit e9803a0e98

View File

@@ -11,7 +11,7 @@ import { distPath } from "debug-visualizer-webview";
import { EvaluationWatchService } from "./EvaluationWatchService/EvaluationWatchService";
export class Server {
private server: http.Server;
private readonly server: http.Server;
public readonly secret = cryptoRandomString({ length: 20 });
public readonly connections = new Set<ClientConnection>();