mirror of
https://github.com/willmiao/ComfyUI-Lora-Manager.git
synced 2026-08-24 06:21:26 -03:00
feat(ui): add hash search option and de-emphasized hash display in model modal
This commit is contained in:
@@ -49,7 +49,10 @@ class I18nManager {
|
||||
}
|
||||
|
||||
try {
|
||||
const response = await fetch(`/locales/${normalizedLocale}.json`);
|
||||
// 'no-cache' forces revalidation (cheap 304 via ETag) so locale
|
||||
// edits are picked up on a plain reload instead of serving a
|
||||
// stale cached copy.
|
||||
const response = await fetch(`/locales/${normalizedLocale}.json`, { cache: 'no-cache' });
|
||||
if (!response.ok) {
|
||||
throw new Error(`HTTP error! status: ${response.status}`);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user