ahmedkandel / nova-s3-multipart-upload

A Laravel Nova resource tool to upload files directly to Amazon S3. You can (upload | download | delete) single, multiple, small or big files.
MIT License
23 stars 22 forks source link

'nova-vendor' routes getting 401 error triggering refresh. #22

Closed samshupac closed 3 years ago

samshupac commented 3 years ago

I've installed the package (with the simple instructions) and it is displaying on the Resource view but the route to get files is returned with a 401, shortly afterwards the page refreshes. https://***redacted***/nova-vendor/nova-s3-multipart-upload/listings/fc59fca3-f149-3b0c-b5e3-c2e89fa038e1/media/files

Uploader definition:

public function fields(Request $request)
    {
        return [
           ...
            NovaS3MultipartUpload::make('Media','media')
                ->hasMany('record')
                ->panelHeight(300),
        ];
    }

There are routes defined in php artisan route:list for the package with the nova guard (other routes with this guard work without any problem).

Any help will be appreciated. Thanks