Skip to content

Commit 18ef80a

Browse files
committed
fix https
1 parent 13391f0 commit 18ef80a

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

src/AdminServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ public function boot()
5151
if (file_exists($routes = admin_path('routes.php'))) {
5252
$this->loadRoutesFrom($routes);
5353
}
54-
if (config('admin.https')) \URL::forceScheme('https');
5554
$this->registerPublishing();
5655
}
5756

src/Middleware/Bootstrap.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ class Bootstrap
1010
{
1111
public function handle(Request $request, Closure $next)
1212
{
13+
if (config('admin.https')) \URL::forceScheme('https');
1314
Admin::bootstrap();
1415

1516
return $next($request);

0 commit comments

Comments
 (0)