add frontend config

This commit is contained in:
Peter Grassberger
2019-02-18 16:48:15 +01:00
parent 01779e3133
commit 696702a0c8
5 changed files with 13 additions and 4 deletions

View File

@@ -4,6 +4,11 @@
var netStatsApp = angular.module('netStatsApp', ['netStatsApp.filters', 'netStatsApp.directives', 'ngStorage']);
netStatsApp.run(function($rootScope) {
$rootScope.networkName = networkName || 'Ethereum';
$rootScope.faviconPath = faviconPath || '/favicon.ico';
});
/* Services */

2
src/js/defaultConfig.js Normal file
View File

@@ -0,0 +1,2 @@
var networkName = 'Ethereum';
var faviconPath = '/favicon.ico';