API updates
This commit is contained in:
34
app/Api/ApiServiceProvider.php
Normal file
34
app/Api/ApiServiceProvider.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
|
||||
namespace App\Api;
|
||||
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class ApiServiceProvider extends ServiceProvider
|
||||
{
|
||||
/**
|
||||
* Bootstrap the application events.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function boot()
|
||||
{
|
||||
//
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the service provider.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
// Add routes
|
||||
// if (isInstall()) {
|
||||
$routes = app_path('/Api/routes.php');
|
||||
if (file_exists($routes)) {
|
||||
require $routes;
|
||||
}
|
||||
// }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user