Permalink
Browse files

#487, asset domain should be changed.

1 parent 4045cc5 commit 8da94af9ed452b2f79f26791ea85a4773a1526e0 @saberma committed Oct 12, 2012
Showing with 4 additions and 2 deletions.
  1. +2 −0 README.md
  2. +1 −1 app/views/shop/templates/customers/registrations.liquid
  3. +1 −1 config/environments/development.rb
View
@@ -111,6 +111,8 @@ http://www.lvh.me:4000
**注意不要使用 localhost 来访问**
+[#486](https://github.com/saberma/shopqi/issues/486): 如果无法通过 `www.lvh.me` 访问,`ping www.lvh.me` 也无法连接,可改为使用 `42foo.com` 进行访问,并将 [`config/app_config.yml`](https://github.com/saberma/shopqi/blob/master/config/app_config.yml#L15) 文件中的 `lvh.me` 修改为 `42foo.com`
+
### 反馈
[有任何问题点这里](https://github.com/saberma/shopqi/issues)
@@ -29,7 +29,7 @@
<input class="btn" type="submit" value="注册" />
<span class='note'>
或者
- <a href='http://myshopqi.lvh.me:4000'>取消,然后返回商店</a>
+ <a href='/'>取消,然后返回商店</a>
</span>
</div>
{% endform %}
@@ -24,7 +24,7 @@
config.action_dispatch.best_standards_support = :builtin
config.action_controller.asset_host = Proc.new { |source|
- "//cdn.lvh.me#{Setting.domain.port}"
+ "//cdn.#{Setting.domain.host}#{Setting.domain.port}"
}
# Raise exception on mass assignment protection for Active Record models

0 comments on commit 8da94af

Please sign in to comment.