Yab\Quarx\Services\FileService::filePreview PHP Method

filePreview() public static method

Provide a URL for the file as a public preview.
public static filePreview ( string $fileName ) : string
$fileName string File name
return string
    public static function filePreview($fileName)
    {
        return url('public-preview/' . CryptoServiceForFiles::url_encode($fileName));
    }