Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I want to disable it from production #293

Open
MoatazAbdAlmageed opened this issue Nov 20, 2023 · 1 comment
Open

I want to disable it from production #293

MoatazAbdAlmageed opened this issue Nov 20, 2023 · 1 comment

Comments

@MoatazAbdAlmageed
Copy link

MoatazAbdAlmageed commented Nov 20, 2023

I tried to add this in app.php
env('APP_ENV') !== 'production' ? Rap2hpoutre\LaravelLogViewer\LaravelLogViewerServiceProvider::class : null, but I got
Class name must be a valid object or a string

@MoatazAbdAlmageed
Copy link
Author

I think I can replace null with existing service provider ... this fixed my issue. but is there a better solution or configuration for disable it from production ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant