Skip to content

Instantly share code, notes, and snippets.

@blogcacanid
Created November 8, 2020 14:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blogcacanid/ecf5c332b0dcb23855f727b9ebbfc944 to your computer and use it in GitHub Desktop.
Save blogcacanid/ecf5c332b0dcb23855f727b9ebbfc944 to your computer and use it in GitHub Desktop.
app.php Authentication JWT Lumen 7 Enable CORS
/*
|--------------------------------------------------------------------------
| 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