Skip to content

Commit 4fed815

Browse files
committedDec 10, 2024
#28 refactor: the config for blog api
1 parent 179fab7 commit 4fed815

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed
 

‎config/blog-api.php

+1-3
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
11
<?php
22

3-
$routePrefix = env('BLOG_API_ROUTE_PREFIX', 'api');
4-
53
return [
64
'defaults' => [
75
/* Set route prefix for the blog API */
8-
'route_prefix' => $routePrefix,
6+
'route_prefix' => env('BLOG_API_ROUTE_PREFIX', 'api'),
97
],
108
];

0 commit comments

Comments
 (0)