From 8cb0e2f88a18e183fca0bbdee1ff4f6d6dc23349 Mon Sep 17 00:00:00 2001 From: Matthias Guillitte Date: Sat, 8 Feb 2025 11:26:10 +0100 Subject: [PATCH] Clening up --- app/Providers/AppServiceProvider.php | 2 +- routes/api.php | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/app/Providers/AppServiceProvider.php b/app/Providers/AppServiceProvider.php index 9bbe096..00b8f83 100644 --- a/app/Providers/AppServiceProvider.php +++ b/app/Providers/AppServiceProvider.php @@ -24,7 +24,7 @@ class AppServiceProvider extends ServiceProvider { Vite::prefetch(concurrency: 3); - if (str_starts_with(env('APP_URL'), "https://")) { + if (str_starts_with(config('app.url'), "https://")) { $url->forceScheme('https'); } } diff --git a/routes/api.php b/routes/api.php index 891ae82..29cbc01 100644 --- a/routes/api.php +++ b/routes/api.php @@ -16,8 +16,3 @@ Route::get('/test/{id}', function (Request $request, $id, BrowserJobsInstances $ }); Route::get('jobs/{job}/test', [JobController::class, 'test'])->name('jobs.test'); - -Route::get('testenv', function () { - dump(config('app.url')); - dump(env("TEST")); -});