diff options
author | 2024-11-21 03:31:17 -0600 | |
---|---|---|
committer | 2024-11-21 09:31:17 +0000 | |
commit | a23985b02165c2ddce56d511b3f97b6815c452c9 (patch) | |
tree | 9adf6c2380b47c7b6a5712b3b2b66fb96a534dab /.changeset/warm-poems-breathe.md | |
parent | 28dd3ce5222a667fe113238254edf59318b3fa14 (diff) | |
download | astro-a23985b02165c2ddce56d511b3f97b6815c452c9.tar.gz astro-a23985b02165c2ddce56d511b3f97b6815c452c9.tar.zst astro-a23985b02165c2ddce56d511b3f97b6815c452c9.zip |
fix: return correct locale in root 404 and 500 page with i18n (#12365)
Co-authored-by: Emanuele Stoppa <my.burning@gmail.com>
Diffstat (limited to '.changeset/warm-poems-breathe.md')
-rw-r--r-- | .changeset/warm-poems-breathe.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/.changeset/warm-poems-breathe.md b/.changeset/warm-poems-breathe.md new file mode 100644 index 000000000..e4e9acf80 --- /dev/null +++ b/.changeset/warm-poems-breathe.md @@ -0,0 +1,5 @@ +--- +'astro': patch +--- + +Fixes an issue where `Astro.currentLocale` was not correctly returning the locale for 404 and 500 pages. |