Skip to content

Commit

Permalink
Revert and fix #557 (#1562)
Browse files Browse the repository at this point in the history
  • Loading branch information
erikn69 authored Mar 7, 2024
1 parent 6057dcf commit a8c3ec8
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/JavascriptRenderer.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,11 @@ public function renderHead()
$cssRoute = route('debugbar.assets.css', [
'v' => $this->getModifiedTime('css'),
'theme' => config('debugbar.theme', 'auto'),
]);
], false);

$jsRoute = route('debugbar.assets.js', [
'v' => $this->getModifiedTime('js')
]);

$cssRoute = preg_replace('/\Ahttps?:/', '', $cssRoute);
$jsRoute = preg_replace('/\Ahttps?:/', '', $jsRoute);
], false);

$nonce = $this->getNonceAttribute();

Expand Down

0 comments on commit a8c3ec8

Please sign in to comment.