Refactor user file attachments URL computation to handle local sites.
Review Request #9470 — Created Jan. 5, 2018 and submitted — Latest diff uploaded
The user file attachments resource URL used for uploading images via
drag-and-drop wasn't correct when a local site was present, because we
were computing it inside the JavaScript. This change makes it so we
include the URL as part of theUserSession
model, which makes it work
correctly.
- Verified that I could now DnD images into a review request within a
local site. - Ran js-tests.