knuckleswtf / scribe

Generate API documentation for humans from your Laravel codebase.✍
https://scribe.knuckles.wtf/laravel/
MIT License
1.58k stars 280 forks source link

404 Not Found on Production #860

Open muhammad-sadeeq opened 5 days ago

muhammad-sadeeq commented 5 days ago

Scribe version

4.37.0

PHP version

8.2

Framework

Laravel

Framework version

10.0

Scribe config

type => "laravel"
auth.enabled => true
auth.default => true

What happened?

After following the docs and generating docs using php artisan scribe:generate, the docs can be accessed by visiting /docs url on local machine. But it gives 404 not found error on visiting the /docs url on production server. The production server has all those generated files by scribe that are also present on local.

Docs