Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

airtable image urls expire after 2 hours #69

Open
kapil1garg opened this issue Nov 26, 2022 · 0 comments
Open

airtable image urls expire after 2 hours #69

kapil1garg opened this issue Nov 26, 2022 · 0 comments
Labels
bug general issues with the website

Comments

@kapil1garg
Copy link
Contributor

For security reasons, airtable has changed how their URLs are generated for attachments which we use for storing all images. The object structure looks the same, but the domain is different:
image

There are 2 issues to fix:

  1. In deployment, this seems to be failing since next.config.js is using dl.airtable.com instead of v5.airtableusercontent.com.
  2. URLs are no longer guaranteed to persist after 2 hours, so no pages can use SSG and refer to images hosted on Airtable. Pages using ISR should be ok since the change in URL will invalidate the next page cache and cause the page to re-generate with the new image URL. SSR is ideal here since the server will fetch the new URL on each page load (related to enable SSR on SIGs/Projects page by reducing number of airtable requests #59)
@kapil1garg kapil1garg added the bug general issues with the website label Nov 26, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug general issues with the website
Projects
None yet
Development

No branches or pull requests

1 participant