1

How do I specify array values for Ghost's .env file?

I am using a .env file to configure Ghost. Per How to define array/object in .env file? I have set up a line in my .env which reads:

logging__transports="file,stdout"

However Ghost fails with:

TypeError: this.transports.splice is not a function

How do I specify arrays in .env files for Ghost?

mikemaccana
  • 110,530
  • 99
  • 389
  • 494

1 Answers1

1

Ghost now supports this:

logging__transports='["file", "stdout"]'
Bret Fisher
  • 8,164
  • 2
  • 31
  • 36