Have you checked your composer.json file and checked that it's in the require section and not the require-dev section?
May 22, 2021
5
Level 2
telescope does not work on production
Hi there,
I have the telescope in my local environment and it works perfectly but when I deploy it on the production it actually just shows me some icons. the code below is the register method of TelescopeServiceProvider
public function register()
{
// Telescope::night();
$this->hideSensitiveRequestDetails();
Telescope::filter(function (IncomingEntry $entry) {
if ($this->app->environment('local')) {
return true;
}
return $entry->isReportableException() ||
$entry->isFailedRequest() ||
$entry->isFailedJob() ||
$entry->isScheduledTask() ||
$entry->hasMonitoredTag() ||
$entry->type === EntryType::LOG;
});
}
Please or to participate in this conversation.