Cant Upload File With 401 Error.
I ran the command: php artisan storage:link.
Some other information:
I use Alpine OS ( Docker )
4 Replies
like having a permissions issue
How can i check that ?
When i comment
abort_unless(request()->hasValidSignature(), 401); in method handle in
Livewire\Features\SupportFileUploads\FileUploadController
I upload successful
I debug in sourcecode.
method hasCorrectSignature() return false.
I check value of request->query('signature', '') and hash_hmac('sha256', $original, $keys[0]). They are not the same ?
My domain in local is:
http://localhost:83
where are you uploading to? cloud or local?
make sure you ran
storage:link
and as Toeknee mentioned check the permissions of the storage folderI upload local