In getFileLocation function, config.mount returns undefined.
ArkeshGKalathiya opened this issue · 2 comments
ArkeshGKalathiya commented
In my server, I am getting file urls as
http://xx.xx.xx.xx/undefined/files/xxxxxxxx/xxxxxxxx_file_933781.mp4
It turns out getFileLocation function is appending config.mount ( and it is undefined ).
But when I log the config object, there is property named config.mountPath, by using config.mountPath instead of config.mount, server returns proper file url.
This could be due to parse server versions, so someone experienced can submit the PR.
davimacedo commented
Can you share your parse server configuration? It is probably missing the publicServerURL option.
davimacedo commented
Closing for inactivity