fix swagger url
This commit is contained in:
@@ -19,6 +19,8 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
//
|
||||
if (env('APP_ENV') === 'production') {
|
||||
$this->app['request']->server->set('HTTPS','on'); // this line
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user