add frontend config
This commit is contained in:
@@ -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
2
src/js/defaultConfig.js
Normal file
@@ -0,0 +1,2 @@
|
||||
var networkName = 'Ethereum';
|
||||
var faviconPath = '/favicon.ico';
|
||||
Reference in New Issue
Block a user