🐞 Patch Changes
-
#11879
bd1d4aaThanks @matthewp! - Allow passing a cryptography key via ASTRO_KEYFor Server islands Astro creates a cryptography key in order to hash props for the islands, preventing accidental leakage of secrets.
If you deploy to an environment with rolling updates then there could be multiple instances of your app with different keys, causing potential key mismatches.
To fix this you can now pass the
ASTRO_KEYenvironment variable to your build in order to reuse the same key.To generate a key use:
astro create-keyThis will print out an environment variable to set like:
ASTRO_KEY=PIAuyPNn2aKU/bviapEuc/nVzdzZPizKNo3OqF/5PmQ= -
#11935
c58193aThanks @Princesseuh! - Fixesastro addnot using the proper export point when adding certain adapters