app service provider
This commit is contained in:
parent
96653e3592
commit
4acd59cd2a
|
|
@ -23,9 +23,9 @@ class AppServiceProvider extends ServiceProvider
|
|||
*/
|
||||
public function boot()
|
||||
{
|
||||
// if ($this->app->environment('production')) {
|
||||
// URL::forceScheme('https');
|
||||
// }
|
||||
if ($this->app->environment('production')) {
|
||||
URL::forceScheme('https');
|
||||
}
|
||||
Scramble::extendOpenApi(function (OpenApi $openApi) {
|
||||
$openApi->secure(
|
||||
SecurityScheme::http('bearer')
|
||||
|
|
|
|||
Loading…
Reference in New Issue