aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/utils
diff options
context:
space:
mode:
authorKurkó Mihály <kurkomisi@users.noreply.github.com>2018-03-08 16:22:21 +0800
committerPéter Szilágyi <peterke@gmail.com>2018-03-08 16:22:21 +0800
commit704840a8ad9e75d4a00e734f901cac21c51b7eb5 (patch)
treee2b012c052986bb40053f09394aefb5c23474a5a /cmd/utils
parent3ec1b9a92dc09ff33f6fae2e8daa7862d4c51bb1 (diff)
downloadgo-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.tar.gz
go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.tar.zst
go-tangerine-704840a8ad9e75d4a00e734f901cac21c51b7eb5.zip
cmd, dashboard: use webpack dev server, remove custom assets (#16263)
* cmd, dashboard: remove custom assets, webpack dev server * dashboard: yarn commands, small fixes
Diffstat (limited to 'cmd/utils')
-rw-r--r--cmd/utils/flags.go6
1 files changed, 0 insertions, 6 deletions
diff --git a/cmd/utils/flags.go b/cmd/utils/flags.go
index dbf26b8e0..96e8b72ec 100644
--- a/cmd/utils/flags.go
+++ b/cmd/utils/flags.go
@@ -209,11 +209,6 @@ var (
Usage: "Dashboard metrics collection refresh rate",
Value: dashboard.DefaultConfig.Refresh,
}
- DashboardAssetsFlag = cli.StringFlag{
- Name: "dashboard.assets",
- Usage: "Developer flag to serve the dashboard from the local file system",
- Value: dashboard.DefaultConfig.Assets,
- }
// Ethash settings
EthashCacheDirFlag = DirectoryFlag{
Name: "ethash.cachedir",
@@ -1120,7 +1115,6 @@ func SetDashboardConfig(ctx *cli.Context, cfg *dashboard.Config) {
cfg.Host = ctx.GlobalString(DashboardAddrFlag.Name)
cfg.Port = ctx.GlobalInt(DashboardPortFlag.Name)
cfg.Refresh = ctx.GlobalDuration(DashboardRefreshFlag.Name)
- cfg.Assets = ctx.GlobalString(DashboardAssetsFlag.Name)
}
// RegisterEthService adds an Ethereum client to the stack.