1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-04-08 19:56:42 +00:00
Russell Troxel 400c745692
Update KOBO_IMAGEHOST_URL to new CDN endpoint
Kobo has introduced a vanity URL to their Akamai CDN config - "https://https://cdn.kobo.com". As a result, requests sent to the old raw Akamai endpoint now through 404s. This is a simple PR that updates to the new URL.

This is visible in the config of a newly bought Kobo Sage (mine):
```
image_host=https://cdn.kobo.com/book-images/
image_url_quality_template=https://cdn.kobo.com/book-images/{ImageId}/{Width}/{Height}/{Quality}/{IsGreyscale}/image.jpg
image_url_template=https://cdn.kobo.com/book-images/{ImageId}/{Width}/{Height}/false/image.jpg
```

Example:

OLD:
https://kbimages1-a.akamaihd.net/1abfb307-457b-4597-b2ea-74beb2eb1478/149/223/false/image.jpg
(Throws 404)

New:
https://cdn.kobo.com/book-images/1abfb307-457b-4597-b2ea-74beb2eb1478/149/223/false/image.jpg
(Renders Properly)

fixes #2371 
ref #2731
2023-11-26 14:31:24 -08:00
..
2023-08-28 18:06:32 +02:00
2023-11-06 16:51:08 +01:00
2023-11-06 16:51:08 +01:00
2023-11-06 18:05:36 +01:00
2023-02-05 08:47:10 +01:00
2022-05-22 12:49:00 +01:00
2023-05-28 20:42:18 +02:00
2023-05-28 20:42:18 +02:00
2022-05-21 21:52:59 +01:00
2022-07-02 17:45:24 +02:00
2023-01-21 15:23:18 +01:00
2022-04-30 10:17:41 +02:00
2023-01-21 15:23:18 +01:00
2023-04-15 13:22:17 +02:00
2023-07-31 19:02:41 +02:00
2023-11-06 16:51:08 +01:00
2022-04-26 20:24:40 +02:00
2023-02-12 13:10:00 +01:00
2023-11-02 16:34:04 +01:00
2023-04-03 20:00:40 +02:00
2023-01-21 15:23:18 +01:00
2023-08-24 13:49:22 +02:00
2022-05-31 19:22:57 +02:00
2021-10-04 19:23:24 +02:00
2023-03-25 10:42:36 +01:00
2023-11-01 07:47:29 +01:00
2023-04-13 19:01:53 +02:00
2023-04-03 20:00:40 +02:00
2023-11-02 16:34:04 +01:00
2023-02-12 13:12:38 +01:00