mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 12:26:35 +00:00
parent
3a100bff23
commit
db630677a4
@ -74,7 +74,7 @@ window.getTranslation = function (translationInput) {
|
||||
// Create a promise to fetch translation from the server
|
||||
if (!translations[translationFingerprint]) {
|
||||
translations[translationFingerprint] =
|
||||
fetch(`/static/translations/${translationFingerprint}`)
|
||||
fetch(`/static/translations/${translationFingerprint}`, { credentials: 'include' })
|
||||
.then(response => response.json()).then(data => ({
|
||||
language: translation,
|
||||
resources: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user