Add app version to asset url to bust cache
This commit is contained in:
parent
8b72ff0a0d
commit
9ca2078e7d
1 changed files with 3 additions and 3 deletions
|
@ -25,8 +25,8 @@
|
|||
<meta name="theme-color" content="#ffffff">
|
||||
<meta name="mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<link rel="stylesheet" href="{{ asset('css/app.css?v=2') }}" type="text/css" />
|
||||
<link rel="stylesheet" href="{{ asset('css/all.min.css?v=2') }}" type="text/css" />
|
||||
<link rel="stylesheet" href="{{ asset('css/app.css?v='.config('app.version')) }}" type="text/css" />
|
||||
<link rel="stylesheet" href="{{ asset('css/all.min.css?v='.config('app.version')) }}" type="text/css" />
|
||||
<script src="{{ asset('js/fontawesome.js') }}"></script>
|
||||
@if(config('app.url') !== 'http://localhost')
|
||||
<base href="{{ config('app.url') }}">
|
||||
|
@ -115,7 +115,7 @@
|
|||
</div>
|
||||
<script src="{{ asset('js/jquery-3.6.0.min.js') }}"></script>
|
||||
<script src="{{ asset('js/jquery-ui.min.js') }}"></script>
|
||||
<script src="{{ asset('js/app.js?v=5') }}"></script>
|
||||
<script src="{{ asset('js/app.js?v='.config('app.version')) }}"></script>
|
||||
@yield('scripts')
|
||||
|
||||
<script id="custom_js">
|
||||
|
|
Loading…
Reference in a new issue