Skip to content
This repository was archived by the owner on May 5, 2024. It is now read-only.

Commit f8b3dfd

Browse files
committed
fix: asset urls
1 parent 373e6a4 commit f8b3dfd

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

src/Providers/LaravelWebLogsServiceProvider.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ public function boot()
1616
__DIR__ . '/../../config/web-logs.php' => base_path('config/web-logs.php'),
1717
], 'config');
1818

19-
if ($this->app->runningInConsole()) {
20-
$this->publishes([
21-
__DIR__ . '/../../public' => base_path('public/vendor/web-logs'),
22-
], 'web-logs-assets');
23-
}
24-
2519
/** @var Router $router */
2620
$router = $this->app->router;
2721

src/helpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
if (!function_exists('web_logs_asset')) {
44
function web_logs_asset($asset)
55
{
6-
return url(config('web-logs.route_group_attributes.prefix') . '/assets/' . $asset);
6+
return url('web-logs/assets/' . $asset);
77
}
88
}

0 commit comments

Comments
 (0)