Load env in environment.rb

This commit is contained in:
2023-05-11 22:10:09 +10:00
parent cf963974fe
commit f8d216b682

View File

@@ -4,6 +4,8 @@ require "connection_pool"
require "que"
require "hanami/boot"
Dotenv.load("/home/blog/current/.env.production")
uri = URI.parse(ENV['DATABASE_URL'])
Que.connection = ConnectionPool.new(size: 10) do