I’m trying to get uploaded audio files to return their absolute URLs. I’m doing this by overwriting the
Discourse.Utilities.getUploadMarkdown function, in a plugin. It works, but I’m having to hardcode my site’s base URL into the function and then append it to
upload.url. Is there a site setting for this that is available on the client side?
I am currently doing it like this, but there must be a better way.