Skip to content

HAMUR_E5804: A locale domain is set with an isr route rule

A locale domain is set with an isr route rule. Error HAMUR_E5804 belongs to @hamur/i18n (5801 – 5900).

Message

text
HAMUR_E5804 i18n: locales[].domain cannot be used with an isr route rule on the <preset> preset ("<pattern>"); its ISR cache keys on the path, not the host

Cause

A locale has a domain and an isr route rule is set on a preset whose ISR cache keys on the path, not the host.

Fix

Remove the isr rule, or the domains.