|
|
@ -57,6 +57,7 @@ export default class ViewEngine extends LifecycleUnit {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
this.template_dir = this.app.app_path(base_dir)
|
|
|
|
this.template_dir = this.app.app_path(base_dir)
|
|
|
|
|
|
|
|
console.log('view engine template dir', { base_dir, template_dir: this.template_dir })
|
|
|
|
this.engine = config
|
|
|
|
this.engine = config
|
|
|
|
this.logger.info(`Determined view engine from config: ${config}`)
|
|
|
|
this.logger.info(`Determined view engine from config: ${config}`)
|
|
|
|
this.logger.info(`Determined base directory for templates: ${this.template_dir}`)
|
|
|
|
this.logger.info(`Determined base directory for templates: ${this.template_dir}`)
|
|
|
|