We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9461b69 commit 42ecc7cCopy full SHA for 42ecc7c
src/ServiceProvider.php
@@ -58,10 +58,10 @@ protected function registerElixirLinks()
58
if (config('server-push.autolink_elixir')) {
59
$revPath = public_path().'/build/rev-manifest.json';
60
if (file_exists($revPath)) {
61
- $revMap = json_decode($revPath, true);
+ $revMap = json_decode(file_get_contents($revPath), true);
62
if ($revMap) {
63
foreach (array_values($revMap) as $path) {
64
- $instance->queueResource('/'.ltrim($path, '/'));
+ $instance->queueResource('/build/'.ltrim($path, '/'));
65
}
66
67
0 commit comments