refactor(core): Make new configs consistent (no-changelog) (#10393)

This commit is contained in:
Iván Ovejero
2024-08-14 11:30:26 +02:00
committed by GitHub
parent e640f1f42c
commit c0811b218a
14 changed files with 40 additions and 40 deletions

View File

@@ -0,0 +1,12 @@
import { Config, Env } from '../decorators';
@Config
export class TemplatesConfig {
/** Whether to load workflow templates. */
@Env('N8N_TEMPLATES_ENABLED')
enabled = true;
/** Host to retrieve workflow templates from endpoints. */
@Env('N8N_TEMPLATES_HOST')
host = 'https://api.n8n.io/api/';
}