mirror of
https://github.com/prurigro/hypothetical.git
synced 2024-12-25 19:04:34 -05:00
Upgrade to 7.12.0
This commit is contained in:
parent
999f4d3a68
commit
4e125a57bd
9 changed files with 1474 additions and 453 deletions
|
@ -1 +1 @@
|
|||
b5f008a8bff29219800b465e613bc19a191ac815
|
||||
5639581ea56ecd556cdf6e6edc37ce5795740fd7
|
||||
|
|
|
@ -14,6 +14,7 @@ class Kernel extends HttpKernel
|
|||
* @var array
|
||||
*/
|
||||
protected $middleware = [
|
||||
// \App\Http\Middleware\TrustHosts::class,
|
||||
\App\Http\Middleware\TrustProxies::class,
|
||||
\Fruitcake\Cors\HandleCors::class,
|
||||
\App\Http\Middleware\CheckForMaintenanceMode::class,
|
||||
|
|
20
app/Http/Middleware/TrustHosts.php
Normal file
20
app/Http/Middleware/TrustHosts.php
Normal file
|
@ -0,0 +1,20 @@
|
|||
<?php
|
||||
|
||||
namespace App\Http\Middleware;
|
||||
|
||||
use Illuminate\Http\Middleware\TrustHosts as Middleware;
|
||||
|
||||
class TrustHosts extends Middleware
|
||||
{
|
||||
/**
|
||||
* Get the host patterns that should be trusted.
|
||||
*
|
||||
* @return array
|
||||
*/
|
||||
public function hosts()
|
||||
{
|
||||
return [
|
||||
$this->allSubdomainsOfApplicationUrl(),
|
||||
];
|
||||
}
|
||||
}
|
|
@ -10,7 +10,7 @@ class TrustProxies extends Middleware
|
|||
/**
|
||||
* The trusted proxies for this application.
|
||||
*
|
||||
* @var array|string
|
||||
* @var array|string|null
|
||||
*/
|
||||
protected $proxies;
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
"laravel/tinker": "^2.0",
|
||||
"laravel/ui": "^2.0",
|
||||
"phpoffice/phpspreadsheet": "^1.2",
|
||||
"radic/blade-extensions": "dev-master",
|
||||
"radic/blade-extensions": "^7.4.0",
|
||||
"spatie/laravel-newsletter": "^4.8"
|
||||
},
|
||||
"require-dev": {
|
||||
|
|
1893
composer.lock
generated
1893
composer.lock
generated
File diff suppressed because it is too large
Load diff
|
@ -42,6 +42,7 @@ return [
|
|||
'username' => env('MAIL_USERNAME'),
|
||||
'password' => env('MAIL_PASSWORD'),
|
||||
'timeout' => null,
|
||||
'auth_mode' => null,
|
||||
],
|
||||
|
||||
'ses' => [
|
||||
|
|
|
@ -92,10 +92,12 @@ return [
|
|||
| Session Cache Store
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When using the "apc", "memcached", or "dynamodb" session drivers you may
|
||||
| While using one of the framework's cache driven session backends you may
|
||||
| list a cache store that should be used for these sessions. This value
|
||||
| must match with one of the application's configured cache "stores".
|
||||
|
|
||||
| Affects: "apc", "dynamodb", "memcached", "redis"
|
||||
|
|
||||
*/
|
||||
|
||||
'store' => env('SESSION_STORE', null),
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
A Hypothetical website template for bootstrapping new projects.
|
||||
|
||||
* Written and maintained by Kevin MacMartin
|
||||
* Based on Laravel 7.6.0
|
||||
* Based on Laravel 7.12.0
|
||||
|
||||
## Setup
|
||||
|
||||
|
|
Loading…
Reference in a new issue