remove code

This commit is contained in:
Andras Bacsai
2023-05-26 14:11:01 +02:00
parent 820e432f92
commit 4ddc65d0c5
4 changed files with 0 additions and 34 deletions

View File

@@ -2,13 +2,7 @@
namespace App\Providers;
use App\Jobs\CoolifyTask;
use App\Models\InstanceSettings;
use Illuminate\Queue\Events\JobProcessed;
use Illuminate\Support\Facades\Queue;
use Illuminate\Support\Facades\URL;
use Illuminate\Support\ServiceProvider;
use Illuminate\Support\Str;
class AppServiceProvider extends ServiceProvider
{
@@ -24,15 +18,5 @@ class AppServiceProvider extends ServiceProvider
*/
public function boot(): void
{
// if ($this->app->environment('production')) {
// try {
// $settings = InstanceSettings::first();
// if (Str::startsWith($settings->fqdn, 'https')) {
// URL::forceScheme('https');
// }
// } catch (\Exception $e) {
// // do nothing
// }
// }
}
}