Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Cong.Zhao
/
musician-api.hikoon.com
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
1e5dc27d
...
1e5dc27d82ce9587d97f140e79d61bce5018d713
authored
2022-07-25 14:42:31 +0800
by
lemon
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
每分钟限流
1 parent
7b205c7f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
app/Http/Kernel.php
app/Http/Kernel.php
View file @
1e5dc27
...
...
@@ -5,6 +5,7 @@ namespace App\Http;
use
App\Http\Middleware\AuthIdentifier
;
use
Fruitcake\Cors\HandleCors
;
use
Illuminate\Foundation\Http\Kernel
as
HttpKernel
;
use
Illuminate\Routing\Middleware\ThrottleRequests
;
class
Kernel
extends
HttpKernel
{
...
...
@@ -43,7 +44,7 @@ class Kernel extends HttpKernel
],
'api'
=>
[
'throttle:api'
,
ThrottleRequests
::
class
,
\Illuminate\Routing\Middleware\SubstituteBindings
::
class
,
],
];
...
...
Please
register
or
sign in
to post a comment