1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-26 20:54:21 +01:00

[bug] unable to access health endpoint

This commit is contained in:
Sylvain 2020-04-07 15:19:41 +02:00
parent 6f4052f295
commit a4cd6e4dc7
4 changed files with 4 additions and 3 deletions

View File

@ -8,6 +8,7 @@
- Fix a bug: default nginx configuration does not allows secure cookies
- Fix a bug: in-context translation is loading invalid locale for MessageFormat
- Fix a bug: invalid link to upgrade procedure
- Fix a bug: unable to access health endpoint
## v4.3.3 2020 April 1st

View File

@ -1,3 +1,3 @@
web: bundle exec rails server puma -p $PORT
worker: bundle exec sidekiq -C ./config/sidekiq.yml
#mail: node_modules/maildev/bin/maildev --ip 0.0.0.0
mail: node_modules/maildev/bin/maildev --ip 0.0.0.0

View File

@ -28,7 +28,7 @@ class HealthService
end
def self.migrations?
!ActiveRecord::Migrator.needs_migration?
!ActiveRecord::Base.connection.migration_context.needs_migration?
end
def self.row_stats

View File

@ -58,7 +58,7 @@ RECAPTCHA_SECRET_KEY=
DISQUS_SHORTNAME=
# Twitter sharing
TWITTER_NAME=FablabGrenoble
TWITTER_NAME=Fab_Manager
# Facebook sharing
FACEBOOK_APP_ID=