Commit graph

3 commits

Author SHA1 Message Date
Sean McGivern
0bcfd0adb3 Fix image webhook rewriting for uploads
This rewrote URLs to be absolute URLs. However, for uploads (the most
common case), we actually need them to point to not just the GitLab
instance, but the project they're from. Thankfully, we can normally get
that information from the object we're building the hook for.
2018-10-16 10:54:49 +01:00
Sean McGivern
fc580935ca Keep #absolute_image_urls as a private instance method 2018-07-17 14:58:14 +01:00
Sean McGivern
0d9ef34a25 Add documentation and specs for webhook URL rewriting 2018-07-06 11:35:30 +01:00