Skip to content

Commit 04ef5fa

Browse files
committed
adjusted env variables for switch back to MySQL
1 parent 745e308 commit 04ef5fa

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

app.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ class SpacexAPI < Sinatra::Base
2323

2424
# DB connection to MariaDB
2525
DB = Mysql2::Client.new(
26-
:host => ENV['MARIA_HOST'],
27-
:username => ENV['MARIA_USER'],
28-
:password => ENV['MARIA_PASS'],
29-
:database => ENV['MARIA_DB'],
26+
:host => ENV['SPACEX_HOST'],
27+
:username => ENV['SPACEX_USER'],
28+
:password => ENV['SPACEX_PASS'],
29+
:database => ENV['SPACEX_DB'],
3030
:reconnect => true
3131
)
3232

0 commit comments

Comments
 (0)