diff --git a/hassio/config.js b/hassio/config.js index fbffc770d5..957a3f3c6e 100644 --- a/hassio/config.js +++ b/hassio/config.js @@ -2,7 +2,9 @@ const path = require('path'); module.exports = { // Target directory for the build. - buildDir: path.resolve(__dirname, 'build-es5'), + buildDirLegacy: path.resolve(__dirname, 'build-es5'), + buildDir: path.resolve(__dirname, 'build'), // Path where the Hass.io frontend will be publicly available. - publicPath: '/api/hassio/app-es5' + publicPath: '/api/hassio/app', + publicPathLegacy: '/api/hassio/app-es5', } \ No newline at end of file diff --git a/hassio/index.html b/hassio/index.html index eeb979cb52..f560d39d45 100644 --- a/hassio/index.html +++ b/hassio/index.html @@ -26,7 +26,7 @@ 'import' in document.createElement('link') && 'content' in document.createElement('template')); if (!webComponentsSupported) { - addScript('/static/webcomponents-bundle.js'); + addScript('/static/webcomponents-lite.js'); }