mirror of
https://github.com/DeviceFarmer/stf.git
synced 2026-04-19 00:23:25 +02:00
migrates to webpack 4 to enforce security (#818)
Signed-off-by: Denis barbaron <denis.barbaron@orange.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user