diff --git a/composer.json b/composer.json index ab11504..2452ece 100644 --- a/composer.json +++ b/composer.json @@ -1,15 +1,15 @@ { "name": "cslant/blog-core", - "description": "Send notification from Gitlab and Github events to Telegram", + "description": "A Laravel package for CSlant blog Core", "keywords": [ "cslant", "laravel", - "cslant-blog-api-package", - "cslant-blog-api", + "cslant-blog-core-package", + "cslant-blog-core", "cslant-blog", - "cslant-api", + "cslant-core", "cslant-package", - "blog-api-package", + "blog-core-package", "blog-core" ], "homepage": "https://github.com/cslant/blog-core", diff --git a/config/blog-core.php b/config/blog-core.php index 3d8509d..da74f7a 100644 --- a/config/blog-core.php +++ b/config/blog-core.php @@ -3,8 +3,5 @@ $routePrefix = env('BLOG_API_ROUTE_PREFIX', 'api'); return [ - 'defaults' => [ - /* Set route prefix for the blog API */ - 'route_prefix' => $routePrefix, - ], + 'defaults' => [], ]; diff --git a/phpunit.xml b/phpunit.xml index 3b5640c..1013748 100644 --- a/phpunit.xml +++ b/phpunit.xml @@ -13,7 +13,7 @@ - + tests diff --git a/routes/blog-core.php b/routes/blog-core.php index 3c476cd..10605d1 100644 --- a/routes/blog-core.php +++ b/routes/blog-core.php @@ -4,7 +4,7 @@ /* |-------------------------------------------------------------------------- -| Blog API Routes +| Blog Core Routes |-------------------------------------------------------------------------- | | Here is where you can register bot routes for your application. These @@ -13,12 +13,3 @@ | */ -$routePrefix = config('blog-api.defaults.route_prefix'); - -Route::prefix($routePrefix)->name("$routePrefix.")->group(function () { - Route::get('/posts', function () { - return response()->json([ - 'message' => 'Hello from the blog API!', - ]); - }); -});