Change to new production hostname: openfoodnetwork.org.au

This commit is contained in:
Rohan Mitchell
2014-05-09 11:34:52 +10:00
committed by Will Marshall
parent 7bf969ca1b
commit 04379101e1
2 changed files with 2 additions and 2 deletions

View File

@@ -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}"

View File

@@ -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