Cant use EJS hook showing error TypeError: ctx.render is not a function

try this:
./config/hook.json

{
  settings: {
    "ejs": {
      "enabled": true,
      "layout": false,
      "viewExt": "ejs",
      "partial": true,
      "cache": false,
      "debug": true
    }
  }
}
1 Like