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