优先取env中的wechat url
This commit is contained in:
parent
57cdc1d5ec
commit
436de8ce5a
|
@ -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|
|
||||
|
|
Loading…
Reference in New Issue