Skip to content

Commit f70392e

Browse files
committed
Update for Laravel 7.3.0
1 parent 9ec8039 commit f70392e

File tree

17 files changed

+39
-10
lines changed

17 files changed

+39
-10
lines changed

app/Providers/RouteServiceProvider.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ public function map()
5959
protected function mapWebRoutes()
6060
{
6161
Route::middleware('web')
62-
->namespace($this->namespace)
63-
->group(base_path('routes/web.php'));
62+
->namespace($this->namespace)
63+
->group(base_path('routes/web.php'));
6464
}
6565

6666
/**
@@ -73,8 +73,8 @@ protected function mapWebRoutes()
7373
protected function mapApiRoutes()
7474
{
7575
Route::prefix('api')
76-
->middleware('api')
77-
->namespace($this->namespace)
78-
->group(base_path('routes/api.php'));
76+
->middleware('api')
77+
->namespace($this->namespace)
78+
->group(base_path('routes/api.php'));
7979
}
8080
}

artisan

100644100755
File mode changed.

bootstrap/cache/.gitignore

100755100644
File mode changed.

config/cors.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525

2626
'allowed_headers' => ['*'],
2727

28-
'exposed_headers' => false,
28+
'exposed_headers' => [],
2929

30-
'max_age' => false,
30+
'max_age' => 0,
3131

3232
'supports_credentials' => false,
3333

config/filesystems.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
'secret' => env('AWS_SECRET_ACCESS_KEY'),
6262
'region' => env('AWS_DEFAULT_REGION'),
6363
'bucket' => env('AWS_BUCKET'),
64-
'url' => env('AWS_URL'),
64+
'endpoint' => env('AWS_URL'),
6565
],
6666

6767
],

config/mail.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
'encryption' => env('MAIL_ENCRYPTION', 'tls'),
4242
'username' => env('MAIL_USERNAME'),
4343
'password' => env('MAIL_PASSWORD'),
44+
'timeout' => null,
4445
],
4546

4647
'ses' => [

config/session.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@
166166
|
167167
*/
168168

169-
'secure' => env('SESSION_SECURE_COOKIE', null),
169+
'secure' => env('SESSION_SECURE_COOKIE'),
170170

171171
/*
172172
|--------------------------------------------------------------------------
@@ -190,7 +190,7 @@
190190
| take place, and can be used to mitigate CSRF attacks. By default, we
191191
| do not enable this as other CSRF protection services are in place.
192192
|
193-
| Supported: "lax", "strict", "none"
193+
| Supported: "lax", "strict", "none", null
194194
|
195195
*/
196196

public/web.config

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
<!--
2+
Rewrites requires Microsoft URL Rewrite Module for IIS
3+
Download: https://www.microsoft.com/en-us/download/details.aspx?id=47337
4+
Debug Help: https://docs.microsoft.com/en-us/iis/extensions/url-rewrite-module/using-failed-request-tracing-to-trace-rewrite-rules
5+
-->
6+
<configuration>
7+
<system.webServer>
8+
<rewrite>
9+
<rules>
10+
<rule name="Imported Rule 1" stopProcessing="true">
11+
<match url="^(.*)/$" ignoreCase="false" />
12+
<conditions>
13+
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
14+
</conditions>
15+
<action type="Redirect" redirectType="Permanent" url="/{R:1}" />
16+
</rule>
17+
<rule name="Imported Rule 2" stopProcessing="true">
18+
<match url="^" ignoreCase="false" />
19+
<conditions>
20+
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" ignoreCase="false" negate="true" />
21+
<add input="{REQUEST_FILENAME}" matchType="IsFile" ignoreCase="false" negate="true" />
22+
</conditions>
23+
<action type="Rewrite" url="index.php" />
24+
</rule>
25+
</rules>
26+
</rewrite>
27+
</system.webServer>
28+
</configuration>

storage/app/.gitignore

100755100644
File mode changed.

storage/app/public/.gitignore

100755100644
File mode changed.

storage/framework/.gitignore

100755100644
File mode changed.

storage/framework/cache/.gitignore

100755100644
File mode changed.

storage/framework/cache/data/.gitignore

100755100644
File mode changed.

storage/framework/sessions/.gitignore

100755100644
File mode changed.

storage/framework/testing/.gitignore

100755100644
File mode changed.

storage/framework/views/.gitignore

100755100644
File mode changed.

storage/logs/.gitignore

100755100644
File mode changed.

0 commit comments

Comments
 (0)