Skip to content
Snippets Groups Projects
Unverified Commit f9a8cf20 authored by Wolfgang Welz's avatar Wolfgang Welz Committed by GitHub
Browse files

Replace SPA with dashboard in comments (#377)

parent 22b13291
No related branches found
No related tags found
No related merge requests found
...@@ -24,7 +24,7 @@ var ErrNotFound = errors.New("not found") ...@@ -24,7 +24,7 @@ var ErrNotFound = errors.New("not found")
// ErrForbidden defines the forbidden error. // ErrForbidden defines the forbidden error.
var ErrForbidden = errors.New("forbidden") var ErrForbidden = errors.New("forbidden")
// holds SPA assets // holds dashboard assets
var appBox = packr.New("Dashboard_App", "./frontend/build") var appBox = packr.New("Dashboard_App", "./frontend/build")
var assetsBox = packr.New("Dashboard_Assets", "./frontend/src/assets") var assetsBox = packr.New("Dashboard_Assets", "./frontend/src/assets")
...@@ -66,7 +66,7 @@ func setupRoutes(e *echo.Echo) { ...@@ -66,7 +66,7 @@ func setupRoutes(e *echo.Echo) {
e.GET("/ws", websocketRoute) e.GET("/ws", websocketRoute)
e.GET("/", indexRoute) e.GET("/", indexRoute)
// used to route into the SPA index // used to route into the dashboard index
e.GET("*", indexRoute) e.GET("*", indexRoute)
apiRoutes := e.Group("/api") apiRoutes := e.Group("/api")
......
...@@ -39,7 +39,7 @@ func configure(_ *node.Plugin) { ...@@ -39,7 +39,7 @@ func configure(_ *node.Plugin) {
// "WebAPI autopeering Endpoint", // "WebAPI autopeering Endpoint",
// "Metrics", // "Metrics",
// "PortCheck", // "PortCheck",
// "SPA", // "Dashboard",
// "WebAPI", // "WebAPI",
// "WebAPI info Endpoint", // "WebAPI info Endpoint",
// "WebAPI message Endpoint", // "WebAPI message Endpoint",
......
...@@ -11,8 +11,8 @@ const ( ...@@ -11,8 +11,8 @@ const (
logsDir = "/tmp/logs/" logsDir = "/tmp/logs/"
disabledPluginsEntryNode = "portcheck,spa,analysis,gossip,webapi,webapibroadcastdataendpoint,webapifindtransactionhashesendpoint,webapigetneighborsendpoint,webapigettransactionobjectsbyhashendpoint,webapigettransactiontrytesbyhashendpoint" disabledPluginsEntryNode = "portcheck,dashboard,analysis,gossip,webapi,webapibroadcastdataendpoint,webapifindtransactionhashesendpoint,webapigetneighborsendpoint,webapigettransactionobjectsbyhashendpoint,webapigettransactiontrytesbyhashendpoint"
disabledPluginsPeer = "portcheck,spa,analysis" disabledPluginsPeer = "portcheck,dashboard,analysis"
dockerLogsPrefixLen = 8 dockerLogsPrefixLen = 8
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment