Modify .public folder for media library uploads

I’m trying to modify the default .public folder path for media library uploads, i followed the tutorial and set up a application.json file which looked like this

	"public": {
	  "path": "./site",
	  "maxAge": 60000

inside config folder, but when i try to upload a file it keeps looking for .public folder.
Am I doing something wrong?

thanks in advance

I have also tried setting a custom middleware config file in “config/middleware.js”

module.exports = {
     settings: {
         public: {
             path: './site',

And know it uploads to the folder but after failst in the post /upload call

Any input here guys?

Thanks for this research. This information is very useful for my course work.

Ok, interesting meanung

Kathy, what’s your specialty? I am a college student in management. In any business, the human resources department plays a key role. That is why I decided to study HR. But I work a lot after college and need help writing an hr assignments. I need more than just a writer’s service here. This item is very specific. I want qualified specialists to deal with my issue.