File tree Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Expand file tree Collapse file tree 3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ function load_asset ($ asset_url )
4
+ {
5
+ return ( env ('APP_ENV ' ) === 'production ' ) ? secure_asset ($ asset_url ) : asset ($ asset_url );
6
+ }
Original file line number Diff line number Diff line change 36
36
"classmap" : [
37
37
" database"
38
38
],
39
+ "files" : [
40
+ " app/Http/helpers.php"
41
+ ],
39
42
"psr-4" : {
40
43
"App\\ " : " app/"
41
44
}
Original file line number Diff line number Diff line change 9
9
<link rel =" stylesheet" href =" https://cdnjs.cloudflare.com/ajax/libs/bootstrap-social/4.12.0/bootstrap-social.min.css" >
10
10
<link rel =" stylesheet" href =" https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/css/font-awesome.css" >
11
11
<link rel =" stylesheet" href =" https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.4.0/fonts/fontawesome-webfont.ttf" >
12
- <link rel =" stylesheet" href =" {{ asset (' css/main.css' ) } }" >
12
+ <link rel =" stylesheet" href =" {{ load_asset (' css/main.css' ) } }" >
13
13
</head >
14
14
<body >
15
15
@include (' layouts.partials.navbar' )
You can’t perform that action at this time.
0 commit comments