mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Change to new production hostname: openfoodnetwork.org.au
This commit is contained in:
committed by
Will Marshall
parent
7bf969ca1b
commit
04379101e1
@@ -40,7 +40,7 @@ class ApplicationController < ActionController::Base
|
||||
# (vic.openfoodnetwork.org) that has the SSL certificate. Redirect all requests to this
|
||||
# domain to avoid showing customers a scary invalid certificate error.
|
||||
def require_certified_hostname
|
||||
certified_host = "vic.openfoodnetwork.org"
|
||||
certified_host = "openfoodnetwork.org.au"
|
||||
|
||||
if Rails.env.production? && request.host != certified_host
|
||||
redirect_to "http://#{certified_host}#{request.fullpath}"
|
||||
|
||||
@@ -2,7 +2,7 @@ Hello,
|
||||
|
||||
Welcome to Australia's Open Food Network! Your login email is <%= @user.email %>
|
||||
|
||||
You can go online and start shopping through food hubs and local producers you like at vic.openfoodnetwork.org.au
|
||||
You can go online and start shopping through food hubs and local producers you like at http://openfoodnetwork.org.au
|
||||
|
||||
We welcome all your questions and feedback; you can use the Send Feedback button on the site or email us at hello@openfoodnetwork.org
|
||||
|
||||
|
||||
Reference in New Issue
Block a user