← back to Tk11438 Postgres Migration

verification/fleet-classification/patches/gracie-server.patch

6 lines

--- a/server.js
+++ b/server.js
@@ -16 +16 @@
-const PG = process.env.PG || 'postgresql://localhost/dw_unified';
+const PG = process.env.PG || (process.platform === 'darwin' ? 'postgresql://localhost/dw_unified?host=/tmp' : 'postgresql://localhost/dw_unified');