Skip to content

Commit 42ecc7c

Browse files
author
Tom Schlick
committed
fix build path for elixir
1 parent 9461b69 commit 42ecc7c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ protected function registerElixirLinks()
5858
if (config('server-push.autolink_elixir')) {
5959
$revPath = public_path().'/build/rev-manifest.json';
6060
if (file_exists($revPath)) {
61-
$revMap = json_decode($revPath, true);
61+
$revMap = json_decode(file_get_contents($revPath), true);
6262
if ($revMap) {
6363
foreach (array_values($revMap) as $path) {
64-
$instance->queueResource('/'.ltrim($path, '/'));
64+
$instance->queueResource('/build/'.ltrim($path, '/'));
6565
}
6666
}
6767
}

0 commit comments

Comments
 (0)