Skip to content

Blank page on "production" environment #493

@Princechrisvic

Description

@Princechrisvic

Each time I changed from local to production (APP_ENV=local to APP_ENV=production), I will start getting blank page on the log-viewer page. Currently I am working on my localhost and I don't know if it is the reason for this behaviour. Please what might be the reason for this?

I have done the following yet the issue still persist
*** In the config/log-viewer.php file, I have added the following
'middleware' => ['web', 'auth','isadmin', \Opcodes\LogViewer\Http\Middleware\AuthorizeLogViewer::class,], and isadmin admin middleware has no issue when I use it in different

**** I have tried using the via auth callback Via "auth" callback and it is not working.

On APP_ENV=production, it looks like below image

Image

But if I change the environemnt to APP_ENV=local, it looks like this

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions