Ok, so apparently all we have to do is to remove the `/api` prefix from
fixImageUrlMiddleware. I guess that's just a leftover.
This commit is contained in:
Robert Schäfer 2019-06-12 23:24:40 +02:00
parent fa5b16ddd5
commit 4166936e5f

View File

@ -6,7 +6,7 @@ const legacyUrls = [
export const fixUrl = url => {
legacyUrls.forEach(legacyUrl => {
url = url.replace(legacyUrl, '/api')
url = url.replace(legacyUrl, '/')
})
return url
}