Skip to content

Commit

Permalink
override flysytem dir separator
Browse files Browse the repository at this point in the history
  • Loading branch information
florisbosch committed Dec 19, 2022
1 parent 5530d72 commit fccce3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/LogViewerServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public function register()
$this->app['config']['filesystems.disks.log-viewer-local'] = [
'driver' => 'local',
'root' => str_replace('\\', '/', storage_path('logs')),
'directory_separator' => '/'
];

$this->app->bind('log-viewer', LogViewerService::class);
Expand Down

0 comments on commit fccce3a

Please sign in to comment.