You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The CF worker will be bind to the route specified, and when unable to retrieve the figure, it will return FALLBACK_FIGURE instead. You may also remove the line of route and it will use *.workers.dev instead.
Add secrets of APITOKEN
Use wrangler secret put APITOKEN to specify the access token. This should be consistent with image cache plugin's access_token.
If you use a route like https://example.com/piccache, the image cache plugin should be configured as:
cache_url: "https://example.com/piccache?url="post_url: "https://example.com/piccache"access_token: "<AS THE APITOKEN ABOVE>"url_encode: true
If you don't use route and get a *.workers.dev for your worker, the image cache plugin should be configured as:
cache_url: "https://some.workers.dev/?url="post_url: "https://some.workers.dev/"access_token: "<AS THE APITOKEN ABOVE>"url_encode: true
Additional Headers
Some RSS feeds may mis-configured their figure loading policies, and cannot retrieve the figure without a specific header. Consider add the URL-headers pair to src/index.ts:25.