Skip to content

Commit 33aeb80

Browse files
nshiropascalbaljet
authored andcommitted
[1.x] Put Vite check before Mix
1 parent 657d1e4 commit 33aeb80

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Middleware.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ public function version(Request $request)
3232
return hash('xxh128', config('app.asset_url'));
3333
}
3434

35-
if (file_exists($manifest = public_path('mix-manifest.json'))) {
35+
if (file_exists($manifest = public_path('build/manifest.json'))) {
3636
return hash_file('xxh128', $manifest);
3737
}
3838

39-
if (file_exists($manifest = public_path('build/manifest.json'))) {
39+
if (file_exists($manifest = public_path('mix-manifest.json'))) {
4040
return hash_file('xxh128', $manifest);
4141
}
4242

0 commit comments

Comments
 (0)