app/Application.php
/**
     * Get a URL for static file requests.
     * If this installation of Koel has a CDN_URL configured, use it as the base.
     * Otherwise, just use a full URL to the asset.
     *
     * @param string $name The additional resource name/path.
     *
     * @return string
     */
Get a URL for static file requests.
If this installation of Koel has a CDN_URL configured, use it as the base.
Otherwise, just use a full URL to the asset.

@param string $name The additional resource name/path.

@return string
Get a URL for static file requests . If this installation of Koel has a CDN_URL configured use it as the base . Otherwise just use a full URL to the asset . @param string $name The additional resource name / path . @return string
public function staticUrl($name = null)
    {
        $cdnUrl = trim(env('CDN_URL'), '/ ');
        return $cdnUrl ? $cdnUrl.'/'.trim(ltrim($name, '/')) : trim(asset($name));
    }
public function staticUrl ( $ name = null ) { $ cdnUrl = trim ( env ( 'CDN_URL' ) , '/ ' ) ; return $ cdnUrl ? $ cdnUrl . '/' . trim ( ltrim ( $ name , '/' ) ) : trim ( asset ( $ name ) ) ; }
Get a URL for static file requests.
Get a URL for static file requests .