diff --git a/src/server/tmdb.js b/src/server/tmdb.js index 9b0056c..d7223f0 100644 --- a/src/server/tmdb.js +++ b/src/server/tmdb.js @@ -45,8 +45,16 @@ function handleDisconnect() { throw err; // server variable configures this) } }); + connection.on('connection', conn => { + conn.query("SET time_zone='+02:00';", error => { + if(error){ + throw error + } + }) + }); } + handleDisconnect(); //Start the auto-restarting connection function escapeString(str) {