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
eeef8724
Commit
eeef8724
authored
Nov 15, 2023
by
alisson
Browse files
teste
parent
ba4ee3bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/Providers/AppServiceProvider.php
View file @
eeef8724
...
...
@@ -27,8 +27,7 @@ class AppServiceProvider extends ServiceProvider
*/
public
function
boot
(
UrlGenerator
$url
)
{
if
(
env
(
'APP_ENV'
)
==
'local'
)
{
//so you can work on it locally
dd
(
env
(
'APP_ENV'
));
if
(
env
(
'APP_ENV'
)
!==
'local'
)
{
//so you can work on it locally
$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