1
0
mirror of https://github.com/home-assistant/frontend.git synced 2026-05-08 17:28:46 +01:00

Enable CORS for legacy bundle loading (#18248)

This commit is contained in:
Steve Repsher
2023-10-16 14:40:15 -04:00
committed by GitHub
parent 3b2f6d71f5
commit d88831b719
2 changed files with 4 additions and 2 deletions
+1
View File
@@ -194,6 +194,7 @@ const createWebpackConfig = ({
isProdBuild && !isStatsBuild ? "[id]-[contenthash].js" : "[name].js",
assetModuleFilename:
isProdBuild && !isStatsBuild ? "[id]-[contenthash][ext]" : "[id][ext]",
crossOriginLoading: "use-credentials",
hashFunction: "xxhash64",
hashDigest: "base64url",
hashDigestLength: 11, // full length of 64 bit base64url