Config.json not being parsed?

@patrick I need to set Redis based on environment variables.

Would you be so king to make the config.json so it’s parsed same as the app/modules/connections/db.json files are?

  "redis": "{{$_ENV.REDIS_URL}}",
  "session": {
    "store": {
      "$type": "redis"
    }
  }
}

Or treat redis as a connection(it probably should be) and move it into the /app/modules/connections and refactor the db and redis config logic while keeping the config.json unparseable.

Thanks! I am glad to report that with this change I will no longer have to change core files. I am back to standard!

This has been fixed in Wappler 4.9.0

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