Skip to content
This repository has been archived by the owner on Jan 27, 2020. It is now read-only.

Commit

Permalink
Merge pull request mastodon#144 from pixiv/staging_title
Browse files Browse the repository at this point in the history
Fixes staging host name
  • Loading branch information
alpaca-tc committed Jun 15, 2017
2 parents f77b073 + 49467ce commit 419c59c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/application_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ def title
private

def is_staging?
Rails.env.production? && Socket.gethostname == 'ap-staging'
Rails.env.production? && Socket.gethostname == 'ma099'
rescue
# FIXME: Socket.gethostname あんまり使わないから。。rescueいらないと思うねんけどね。
false
Expand Down

0 comments on commit 419c59c

Please sign in to comment.