storj-sim: correct storagenode dashboard config (#3010)

This commit is contained in:
littleskunk 2019-09-12 14:20:52 +02:00 committed by Egon Elbre
parent 6c0d21046f
commit 1d8cd526e0
2 changed files with 2 additions and 2 deletions

View File

@ -446,7 +446,7 @@ func newNetwork(flags *Flags) (*Processes, error) {
"setup": {
"--identity-dir", process.Directory,
"--console.address", net.JoinHostPort(host, port(storagenodePeer, i, publicHTTP)),
"--console.static-dir", filepath.Join(storjRoot, "web/operator/"),
"--console.static-dir", filepath.Join(storjRoot, "web/storagenode/"),
"--server.address", process.Address,
"--server.private-address", net.JoinHostPort(host, port(storagenodePeer, i, privateGRPC)),

View File

@ -99,7 +99,7 @@ func (planet *Planet) newStorageNodes(count int, whitelistedSatellites storj.Nod
},
Console: consoleserver.Config{
Address: "127.0.0.1:0",
StaticDir: filepath.Join(developmentRoot, "web/operator/"),
StaticDir: filepath.Join(developmentRoot, "web/storagenode/"),
},
Storage2: piecestore.Config{
CacheSyncInterval: time.Hour,