mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +00:00
parent
41195dcef0
commit
4070380ded
@ -22,9 +22,6 @@ const _load = (
|
|||||||
(element as HTMLScriptElement).async = true;
|
(element as HTMLScriptElement).async = true;
|
||||||
if (type) {
|
if (type) {
|
||||||
(element as HTMLScriptElement).type = type;
|
(element as HTMLScriptElement).type = type;
|
||||||
// https://github.com/home-assistant/frontend/pull/6328
|
|
||||||
(element as HTMLScriptElement).crossOrigin =
|
|
||||||
url.substr(0, 1) === "/" ? "use-credentials" : "anonymous";
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "link":
|
case "link":
|
||||||
|
Loading…
x
Reference in New Issue
Block a user