i have kept it blank. so basically it means all files?
and PNGs and JPEGs are working good.
Hi there
I'm trying to upload file in JS
I'm running this code in the console:
require(['uploader'], uploader => {
uploader.show({ route: '/api/post/upload' }, console.log)
})
And the file uploaded, but the console return error:
uploader.js:99 Uncaught TypeError: Cannot read properties of undefined (reading 'url')
In this location https://github.com/NodeBB/NodeBB/blob/master/public/src/modules/uploader.js#L99
What needs fixing?
Thanks