Created
November 8, 2020 14:28
-
-
Save blogcacanid/ecf5c332b0dcb23855f727b9ebbfc944 to your computer and use it in GitHub Desktop.
app.php Authentication JWT Lumen 7 Enable CORS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
|-------------------------------------------------------------------------- | |
| Register Middleware | |
|-------------------------------------------------------------------------- | |
... | |
$app->middleware([ | |
App\Http\Middleware\CorsMiddleware::class | |
]); | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment