Protoqol / Prequel

Prequel for Laravel. Clear and concise database management. Unfortunately, not actively maintained due to time constraints.
https://packagist.org/packages/protoqol/prequel
MIT License
1.54k stars 96 forks source link

Returns 404 even after enabled in production [BUG] #105

Closed just1and0 closed 4 years ago

just1and0 commented 4 years ago

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.

QuintenJustus commented 4 years ago

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.

just1and0 commented 4 years ago

Thank @QuintenJustus for clarifying.

I have done as advised and created my own middleware.