-
Notifications
You must be signed in to change notification settings - Fork 15
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
Only register the telescope service provider if its enabled #242
Only register the telescope service provider if its enabled #242
Conversation
zach2825
commented
Mar 26, 2024
- resolves Disable telescope by default #233 - Disable telescope by default
I compiled and included telescope assets since they are tiny. Also disabled telescope by default. If you want to use it, you can set `TELESCOPE_ENABLED=true` in your .env file
…bug/issue-233/disalbe-telescope-by-default
…bug/issue-233/disalbe-telescope-by-default
…bug/issue-233/disalbe-telescope-by-default
@allella This should resolve the composer issue you saw when telescope is not enabled. I only register the telescope provider if its enabled |
@zach2825 this was merged and pulled, but I'm still getting the error on stage. Would the following in config.app be causing the class to load?
|
Sorry, I meant to say config/app.php I just patched that file on stage, removing the |
…ically register in app/Providers/AppServiceProvider.php if Telescope is enabled in the .env environment variables. Fixes hackgvl#242.