Update documentation - API example of image url to be relative

ImageRenditionField returns a relative URL - The example in the docs shows an absolute URL with the site's hostname, but the ImageRenditionField returns a relative URL.
Merge pull request #5306 from mihow/patch-2
pull/5318/head
LB (Ben Johnston) 2019-05-23 07:33:12 +10:00 zatwierdzone przez GitHub
commit e967b9763f
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -238,7 +238,7 @@ This would add the following to the JSON:
"height": 1125
},
"feed_image_thumbnail": {
"url": "http://www.example.com/media/images/a_test_image.fill-100x100.jpg",
"url": "/media/images/a_test_image.fill-100x100.jpg",
"width": 100,
"height": 100
}