mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-04-14 19:47:03 +00:00
Adding therubyracer for production
This commit is contained in:
parent
0a68e0fa05
commit
523a207555
2 changed files with 2 additions and 1 deletions
1
Gemfile
1
Gemfile
|
|
@ -40,3 +40,4 @@ gem 'jquery-rails'
|
|||
gem 'devise', '>= 2.0'
|
||||
gem 'whenever'
|
||||
gem 'mysql2'
|
||||
gem 'therubyracer'
|
||||
|
|
@ -4,7 +4,7 @@ HabitTracker::Application.configure do
|
|||
|
||||
# TODO disable assets config.assets.initialize_on_precompile or run rake assets:precompile on prod
|
||||
# Needed for devise
|
||||
config.action_mailer.default_url_options = { :host => 'habits.local' }
|
||||
config.action_mailer.default_url_options = { :host => 'habits.ocdevel.com' }
|
||||
|
||||
# Code is not reloaded between requests
|
||||
config.cache_classes = true
|
||||
|
|
|
|||
Loading…
Reference in a new issue