@ -3,7 +3,7 @@ class WechatsController < ActionController::Base
wechat_responder
include ApplicationHelper
ROOT_URL = "#{Setting.protocol}://#{Setting.host_name}"
ROOT_URL = ENV["wechat_url"] || "#{Setting.protocol}://#{Setting.host_name}"
#ROOT_URL = "http://www.trustie.net"
# default text responder when no other match
on :text do |request, content|