Fix authorize path

pull/1178/head
Paulus Schoutsen 2018-05-15 13:46:40 -04:00
parent 658b349755
commit 68fb35a401
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ const {
const es5Extra = "<script src='/frontend_es5/custom-elements-es5-adapter.js'></script>";
async function buildAuth(es6) {
const frontendPath = es6 ? 'hass_frontend_latest' : 'hass_frontend_es5';
const frontendPath = es6 ? 'frontend_latest' : 'frontend_es5';
const stream = gulp.src(path.resolve(config.polymer_dir, 'src/authorize.html'))
.pipe(replace([
['<!--EXTRA_SCRIPTS-->', es6 ? '' : es5Extra],