]> BookStack Code Mirror - bookstack/commitdiff
Updated cache busting for tinymce library import
authorDan Brown <redacted>
Tue, 2 Aug 2022 10:17:02 +0000 (11:17 +0100)
committerDan Brown <redacted>
Tue, 2 Aug 2022 10:17:02 +0000 (11:17 +0100)
Changes from a manual cache buster string to a app-version-based cache
buster, as per our other scripts and styles.

To address #3611

resources/views/pages/parts/wysiwyg-editor.blade.php

index d8ca7493980ec1438839effd8981d7d08fdd6173..b7cd1bdaa679a0208182247ae25bc2c080ef451a 100644 (file)
@@ -1,5 +1,5 @@
 @push('head')
-    <script src="{{ url('/libs/tinymce/tinymce.min.js?ver=5.10.2') }}" nonce="{{ $cspNonce }}"></script>
+    <script src="{{ versioned_asset('libs/tinymce/tinymce.min.js') }}" nonce="{{ $cspNonce }}"></script>
 @endpush
 
 <div component="wysiwyg-editor"