Skip to content

Commit

Permalink
Update app.blade.php (#125)
Browse files Browse the repository at this point in the history
The meta tag approach for csrf tokens won't work in SPA apps, only in blade apps. Removing it fixed the issue I had with uploading files after I login!
  • Loading branch information
iosiflivadaru authored Feb 8, 2022
1 parent 7efa557 commit 82e3a88
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion stubs/inertia-common/resources/views/app.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">

<title inertia>{{ config('app.name', 'Laravel') }}</title>

Expand Down

0 comments on commit 82e3a88

Please sign in to comment.