Skip to content

Commit

Permalink
#28 refactor: the config for blog api
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhongit committed Dec 10, 2024
1 parent 179fab7 commit 4fed815
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions config/blog-api.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
<?php

$routePrefix = env('BLOG_API_ROUTE_PREFIX', 'api');

return [
'defaults' => [
/* Set route prefix for the blog API */
'route_prefix' => $routePrefix,
'route_prefix' => env('BLOG_API_ROUTE_PREFIX', 'api'),
],
];

0 comments on commit 4fed815

Please sign in to comment.