Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Walter Felipe
pad-upe
Commits
d925f3b9
Commit
d925f3b9
authored
Nov 15, 2023
by
alisson
Browse files
update boot
parent
b5a908b1
Changes
1
Show whitespace changes
Inline
Side-by-side
app/Providers/AppServiceProvider.php
View file @
d925f3b9
...
@@ -28,6 +28,7 @@ class AppServiceProvider extends ServiceProvider
...
@@ -28,6 +28,7 @@ class AppServiceProvider extends ServiceProvider
public
function
boot
(
UrlGenerator
$url
)
public
function
boot
(
UrlGenerator
$url
)
{
{
if
(
env
(
'APP_ENV'
)
!==
'local'
)
{
//so you can work on it locally
if
(
env
(
'APP_ENV'
)
!==
'local'
)
{
//so you can work on it locally
dd
(
env
(
'APP_ENV'
));
$url
->
forceScheme
(
'https'
);
$url
->
forceScheme
(
'https'
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment