diff --git a/src/Middleware.php b/src/Middleware.php index eb2a90f6..153a8fa7 100644 --- a/src/Middleware.php +++ b/src/Middleware.php @@ -32,11 +32,11 @@ public function version(Request $request) return md5(config('app.asset_url')); } - if (file_exists($manifest = public_path('mix-manifest.json'))) { + if (file_exists($manifest = public_path('build/manifest.json'))) { return md5_file($manifest); } - if (file_exists($manifest = public_path('build/manifest.json'))) { + if (file_exists($manifest = public_path('mix-manifest.json'))) { return md5_file($manifest); }