public function domain($forceBase = false)
    {
        $pattern = $this->domain;

        if ($pattern === null && $forceBase === true) {
            $pattern = $this->baseUrl;
        } elseif (Str::contains($pattern, '{{domain}}')) {
            $pattern = str_replace('{{domain}}', $this->baseUrl, $pattern);
        }

        return $pattern;
    }