Define BASE_URL globally

/app/Providers/AppServiceProvider.php