Skip to content

Commit

Permalink
fix(cloud-function): fix en-us asset fallback (#12335)
Browse files Browse the repository at this point in the history
  • Loading branch information
fiji-flo authored Dec 19, 2024
1 parent 893f02b commit 64b6287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cloud-function/src/handlers/proxy-content-assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export const proxyContentAssets = createProxyMiddleware({
ACTIVE_LOCALES.has(locale.toLowerCase())
) {
const enUsAsset = await fetch(
`${target}${req.url?.slice(1).replace(locale, "en-US")}`
`${target}${req.url?.slice(1).replace(locale, "en-us")}`
);
if (enUsAsset?.ok) {
res.statusCode = enUsAsset.status;
Expand Down

0 comments on commit 64b6287

Please sign in to comment.