在 app.yml 中“DISCOURSE_HOSTNAME:”之后有引号吗?

Which of the following format is correct in app.yml ? A quotation mark, a no. Thanks

TODO: The domain name this Discourse instance will respond to

  1. DISCOURSE_HOSTNAME: 'discourse.example.com'

  2. DISCOURSE_HOSTNAME: discourse.example.com

This is correct. The app.yml is expecting single quotes.

I think YAML allows either form with or without quotes.

5 个赞

This topic was automatically closed after 2757 days. New replies are no longer allowed.