404 Not Found for Swagger UI assets
marcuschristiansen opened this issue · comments
- L5-Swagger Version: 8.5.2
- PHP Version: 8.1.27
- OS: Mac OS
Description:
When accessing /api/documentation
I get a blank page. The console shows 404 errors for the assets. Application is inside a subfolder in repo at /folder/sub-folder/subfolder/laravel-app
Steps To Reproduce:
- Followed installation instructions
$ php artisan vendor:publish --provider "L5Swagger\L5SwaggerServiceProvider"
$ php artisan l5-swagger:generate
Solved by setting L5_SWAGGER_USE_ABSOLUTE_PATH
to false
.
I was facing same issue and finally its solved. Thank you so much @marcuschristiansen . You saved my day.
Supported.