Spaces:
Sleeping
Sleeping
Download app/Providers/AppServiceProvider.php from Anuj-Panthri/Learn-Guide: direct link, hf CLI and curl.
- Browser
- Download file 463 Bytes
-
https://huggingface.co/spaces/Anuj-Panthri/Learn-Guide/resolve/main/app/Providers/AppServiceProvider.php
- Command line
-
hf download hf://spaces/Anuj-Panthri/Learn-Guide/app/Providers/AppServiceProvider.php
-
curl -L -o AppServiceProvider.php https://huggingface.co/spaces/Anuj-Panthri/Learn-Guide/resolve/main/app/Providers/AppServiceProvider.php
463 Bytes
| namespace App\Providers; | |
| use Illuminate\Support\ServiceProvider; | |
| class AppServiceProvider extends ServiceProvider | |
| { | |
| /** | |
| * Register any application services. | |
| */ | |
| public function register(): void | |
| { | |
| // | |
| } | |
| /** | |
| * Bootstrap any application services. | |
| */ | |
| public function boot(): void | |
| { | |
| // | |
| if($this->app->environment('production')) { | |
| \URL::forceScheme('https'); | |
| } | |
| } | |
| } | |