#'astro dev' throws an error with Netlify blob `getStore()` in build hook

2 messages · Page 1 of 1 (latest)

ornate cliff
#

I'm populating a netlify blob in an astro integration build hook, and fetching the blob in an edge function.

All works fine in netlify dev/serve/build, but in astro dev, the builder uses its own token and siteID, which I can't access from the edge function, throwing an error

I've tried setting the token and siteID in the build hook to match what the edge function expects, but astro dev seems to override it

ornate cliff
#

'astro dev' throws an error with Netlify blob getStore() in build hook