Skip to content

Commit 21d71a1

Browse files
committed
restructured the format of database connection env variables
1 parent 31e9afb commit 21d71a1

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

app.rb

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,12 @@
1717

1818

1919
# DB connection to MariaDB
20-
DB = Mysql2::Client.new(:host => ENV["MARIA_HOST"], :username => ENV["MARIA_USER"], :password => ENV["MARIA_PASS"], :database => ENV["MARIA_DB"], :reconnect => true)
20+
DB = Mysql2::Client.new(
21+
:host => ENV["MARIA_HOST"],
22+
:username => ENV["MARIA_USER"],
23+
:password => ENV["MARIA_PASS"],
24+
:database => ENV["MARIA_DB"],
25+
:reconnect => true)
2126

2227

2328
# Disables rack protection because of false positives

0 commit comments

Comments
 (0)