Save Torch config on server start, remove concealment code (moved to plugin)

This commit is contained in:
John Gross
2017-04-18 10:58:23 -07:00
parent 32f5147060
commit 03a22851af
8 changed files with 23 additions and 379 deletions

View File

@@ -38,7 +38,7 @@ namespace Torch.Server
public TorchUI(TorchServer server)
{
_config = new TorchConfig();
_config = server.Config;
_server = server;
InitializeComponent();
_startTime = DateTime.Now;
@@ -113,7 +113,6 @@ namespace Torch.Server
{
var name = (sender as TextBox).Text;
_server.SetInstance(null, name);
_config.InstancePath = name;
LoadConfig(_config);