Skip to content

Commit

Permalink
Move script to head and set highest priority
Browse files Browse the repository at this point in the history
This should have it placed first in the head section
  • Loading branch information
tonning committed Dec 16, 2023
1 parent 189a9ea commit 0defe1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/OsanoServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public function registerApp(App $app)
->description('To trigger the Storage/Cookie preferences drawer'),
])
->includeFrontendViews(function (IncludeFrontendViews $frontendViews) {
return $frontendViews->addToEnd('osano::script');
return $frontendViews->addToHead(view: 'osano::script', priority: 100);
});
}

Expand Down

0 comments on commit 0defe1f

Please sign in to comment.