misc/paas/heroku/tdiary.conf in tdiary-5.0.0 vs misc/paas/heroku/tdiary.conf in tdiary-5.0.1
- old
+ new
@@ -5,10 +5,10 @@
@data_path = Dir.tmpdir
@style = 'Wiki'
@io_class = TDiary::IO::MongoDB
-@database_url = ENV['MONGOLAB_URI']
+@database_url = ENV['MONGODB_URI'] || ENV['MONGOLAB_URI']
@index = './'
@update = 'update.rb'
@logger = Logger.new($stderr)