RubyGems Navigation menu

xipio 1.0.2

When reading the subdomain of an xip.io request, you will get a different value compared to a local pow request. The reason for this is that the tld length is 1 by default, but an xip.io request has a tld length of 6. This gem inserts a middleware that corrects the tld length config of rails on the fly so that you can use local and xip requests at the same time without restarting the server.

Gemfile:
= 复制到剪贴板 已复制!

安装:
=

版本列表:

  1. 1.0.2 - February 28, 2018 (6.5 KB)
  2. 1.0.1 - February 06, 2018 (6.5 KB)
  3. 1.0.0 - June 15, 2013 (6.5 KB)

Runtime 依赖 (1):

railties >= 3

Development 依赖 (2):

bundler ~> 1.3
rake >= 0

业主:

作者:

  • Philipe Fatio

SHA 256 校验和:

48e539faf86038766e25d2900b50ad4aaf5b74ab9b0d2b6811f7bfdf6b24eb7d

下载总量 70,499

这个版本 54,571

许可:

MIT

需要的 Ruby 版本: >= 0

链接: