<?php

namespace n8n\config;

use Exception;
use traits\module_config_variable;

class n8n_webhook_base_url_c
{
    use module_config_variable;

    /**
     * @throws Exception
     */
    public function __construct()
    {
        self::setupConfigVariable(
            'n8n',
            'webhook_base_url',
            'string',
            false,
            null,
            'The base URL used when triggering n8n webhooks by relative path.',
            'http://n8n:5678',
            false,
            'http://n8n:5678'
        );
    }
}
