Skip to content

Commit b376958

Browse files
authored
Fix Bug of L5_SWAGGER_UI_ASSETS_PATH(.env) not working (#623)
1 parent 9d72140 commit b376958

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

config/l5-swagger.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
*/
2121
'use_absolute_path' => env('L5_SWAGGER_USE_ABSOLUTE_PATH', true),
2222

23+
/*
24+
* Edit to set path where swagger ui assets should be stored
25+
*/
26+
'swagger_ui_assets_path' => env('L5_SWAGGER_UI_ASSETS_PATH', 'vendor/swagger-api/swagger-ui/dist/'),
27+
2328
/*
2429
* File name of the generated json documentation file
2530
*/
@@ -88,11 +93,6 @@
8893
*/
8994
'base' => env('L5_SWAGGER_BASE_PATH', null),
9095

91-
/*
92-
* Edit to set path where swagger ui assets should be stored
93-
*/
94-
'swagger_ui_assets_path' => env('L5_SWAGGER_UI_ASSETS_PATH', 'vendor/swagger-api/swagger-ui/dist/'),
95-
9696
/*
9797
* Absolute path to directories that should be excluded from scanning
9898
* @deprecated Please use `scanOptions.exclude`

0 commit comments

Comments
 (0)