dcasia / nova-filepond

A Nova field for uploading File, Image and Video using Filepond.
MIT License
48 stars 27 forks source link

Invalid encrypted file path response when using laravel-debugbar library #17

Closed hasnatbabur closed 4 years ago

hasnatbabur commented 4 years ago

Please have a look at the response, laravel-debugbar library scripts are appended in encrypted file path response. Windows 10, php 7.4.1.

Perhaps setting xmlhttprequest in header while uploading file may solve the problem.

Please see here: https://github.com/barryvdh/laravel-debugbar/issues/734

Capture

Thanks

hasnatbabur commented 4 years ago

solved by excluding filepond path in laravel-debugbar config

bayhasdev commented 3 years ago

can i ask what filepond path to exclude

hasnat-we commented 3 years ago

@bayhasdev The filepond route paths you use. I set following in the bedugbar config file:

    'enabled' => env('DEBUGBAR_ENABLED', false),
    'except' => [
        'horizon*',
        'telescope*',
        'filepond*',
        'nova-vendor/nova-filepond*',
        'nova-vendor/nova-ck-editor*'
    ],

Notice the 'filepond*', I hope this will help.