Skip to content

Commit

Permalink
Use env var
Browse files Browse the repository at this point in the history
  • Loading branch information
Bas Vodde committed Jan 10, 2024
1 parent 9e1e093 commit 18c8264
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions db/config.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@ def log(msg)

configure :production do
log "PRODUCTION"
# DataMapper.setup(:default, ENV['REFACTORINGMANIFESTO_DB_URL'])
DataMapper.setup(:default, "postgres://192.168.131.5:5432/refactoringmanifesto")
DataMapper.setup(:default, ENV['REFACTORINGMANIFESTO_DB_URL'])
end

configure :test do
Expand Down

0 comments on commit 18c8264

Please sign in to comment.