public function getUrl($path)
    {
        if (! $this->host) {
            throw new BadMethodCallException("The 'host' key must be set in the b2 storage adapter to fetch URLs.");
        }

        return 'https://' . $this->host . '/file/' . $this->bucketName . '/' . $path;
    }