-
app/Helpers.php
Open in GitHubfunction static_url(?string $name = null): string { $cdnUrl = trim(config('koel.cdn.url'), '/ '); return $cdnUrl ? $cdnUrl . '/' . trim(ltrim($name, '/')) : trim(asset($name)); } //
-
resources/views/index.blade.php
Open in GitHub// <link rel="manifest" href="{{ static_url('manifest.json') }}" /> <meta name="msapplication-config" content="{{ static_url('browserconfig.xml') }}" /> <link rel="icon" type="image/x-icon" href="{{ static_url('img/favicon.ico') }}" /> <link rel="icon" href="{{ static_url('img/icon.png') }}"> <link rel="apple-touch-icon" href="{{ static_url('img/icon.png') }}"> //