Protoqol / Prequel

Prequel for Laravel. Clear and concise database management. Unfortunately, not actively maintained due to time constraints.

Home Page:https://packagist.org/packages/protoqol/prequel

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Returns 404 even after enabled in production [BUG]

just1and0 opened this issue · comments

Describe the bug
returns 404 in production, even while enabled.

To Reproduce
Steps to reproduce the behavior:
the set environment in .env file and change;

PREQUEL_ENABLED=true
APP_ENV=production
APP_DEBUG=false

Expected behavior
expect to load the expected Prequel URL, but end up seeing 404 pages.

Hi @just1and0, this is not a bug, this is expected behaviour. Prequel will, by default, always be disabled in production. You can, if you’re sure about your case, bypass it by replacing the default middleware.

Thank @QuintenJustus for clarifying.

I have done as advised and created my own middleware.