nixpkgs-suyu/pkgs/applications/video/epgstation/use-mysql-over-domain-socket.patch

18 lines
533 B
Diff
Raw Normal View History

2018-10-20 20:14:34 +02:00
diff --git a/src/server/ConfigInterface.ts b/src/server/ConfigInterface.ts
index d23badd..1dd2b98 100644
--- a/src/server/ConfigInterface.ts
+++ b/src/server/ConfigInterface.ts
@@ -11,9 +11,10 @@ interface ConfigInterface {
dbPath: string;
dbInfoPath: string;
mysql: {
- host: string;
+ host?: string;
+ socketPath?: string;
user: string;
- password: string;
+ password?: string;
database: string;
connectTimeout: number;
connectionLimit: number;