@@ -15,7 +15,7 @@ class ServiceProvider extends BaseServiceProvider
1515 public function boot ()
1616 {
1717 $ this ->publishes ([
18- __DIR__ . '/../config/server-push.php ' => config_path ('server-push.php ' ),
18+ __DIR__ . '/../config/server-push.php ' => config_path ('server-push.php ' ),
1919 ], 'config ' );
2020 }
2121
@@ -39,7 +39,7 @@ public function register()
3939 */
4040 protected function registerDefaultLinks ()
4141 {
42- $ this ->mergeConfigFrom (__DIR__ . '/../config/server-push.php ' , 'server-push ' );
42+ $ this ->mergeConfigFrom (__DIR__ . '/../config/server-push.php ' , 'server-push ' );
4343 $ instance = app ('server-push ' );
4444
4545 foreach (config ('server-push.default_links ' , []) as $ type => $ paths ) {
@@ -52,15 +52,15 @@ protected function registerDefaultLinks()
5252
5353 protected function registerElixirLinks ()
5454 {
55- $ this ->mergeConfigFrom (__DIR__ . '/../config/server-push.php ' , 'server-push ' );
55+ $ this ->mergeConfigFrom (__DIR__ . '/../config/server-push.php ' , 'server-push ' );
5656 $ instance = app ('server-push ' );
5757
5858 if (config ('server-push.autolink_elixir ' )) {
59- $ revPath = public_path () . '/build/rev-manifest.json ' ;
59+ $ revPath = public_path (). '/build/rev-manifest.json ' ;
6060 if (file_exists ($ revPath )) {
6161 $ revMap = json_decode ($ revPath , true );
6262 foreach (array_values ($ revMap ) as $ path ) {
63- $ instance ->queueResource ('/ ' . ltrim ($ path , '/ ' ));
63+ $ instance ->queueResource ('/ ' . ltrim ($ path , '/ ' ));
6464 }
6565 }
6666 }
0 commit comments