0

我正在使用 Cuttlefish.io ( http://www.cuttlefish.io ),我想知道如何设置链接和计数器图像中使用的基本 URL。默认情况下,链接的基本 URL 是:

http://localhost:3000

但我想将其设置为正确的基本 URL,与此默认基本 URL 不同。

怎么做?

4

1 回答 1

0

通过将其添加到环境的 .rb 文件中找到了如何做:

config.action_mailer.default_url_options = { host: "#{config.cuttlefish_domain}" } 

然后将我想要的值放入环境中:

export CUTTLEFISH_DOMAIN=mydomain
于 2017-02-28T14:31:18.907 回答