migrates to webpack 4 to enforce security (#818)

Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
This commit is contained in:
Denis Barbaron
2024-12-04 17:01:23 +01:00
committed by GitHub
parent 872b0bcbd8
commit 3f76eea17f
9 changed files with 92 additions and 86 deletions

View File

@@ -1,3 +1,7 @@
//
// Copyright © 2024 contains code contributed by Orange SA, authors: Denis Barbaron - Licensed under the Apache license 2.0
//
var _ = require('lodash')
module.exports = function NavigationCtrl($scope, $rootScope) {
@@ -11,7 +15,7 @@ module.exports = function NavigationCtrl($scope, $rootScope) {
}
function resetFavicon() {
$scope.urlFavicon = require('./default-favicon.png')
$scope.urlFavicon = require('./default-favicon.png').default
faviconIsSet = false
}