Dan Mason
Uploading File Gives [Method Not Allowed] error when uploaded via filepond
Googled the error and found this @cmdrpigeon
https://amywestlake.co.uk/notes/file-upload-path-not-empty/
42 replies
Uploading File Gives [Method Not Allowed] error when uploaded via filepond
Seems filament defaults to public anyway mb:
https://github.com/filamentphp/filament/blob/86db630d700d7cd727de6c51864b7ce43c38d15b/packages/support/config/filament.php#L44
42 replies
Uploading File Gives [Method Not Allowed] error when uploaded via filepond
The public disk will use this:
https://github.com/laravel/laravel/blob/657070ea8a95ec269d0ed4c801cead04976a871a/config/filesystems.php#L42
42 replies
Uploading File Gives [Method Not Allowed] error when uploaded via filepond
If you are using the
local
disk then it should use this as the default root path unless you have changed it:
https://github.com/laravel/laravel/blob/657070ea8a95ec269d0ed4c801cead04976a871a/config/filesystems.php#L3542 replies
Uploading File Gives [Method Not Allowed] error when uploaded via filepond
There is also a
FILAMENT_FILESYSTEM_DISK
which is also used in the filament.php config file if you have published that but I think that fallbacks to FILESYSTEM_DISK
.42 replies