- Implement better start/stop for the webinterface
- Save session tokens between startups
This commit is contained in:
+10
-1
@@ -131,7 +131,16 @@ public sealed class Plugin : IDalamudPlugin
|
||||
#endif
|
||||
|
||||
ServerCore = new ServerCore(this);
|
||||
Task.Run(() => ServerCore.Start());
|
||||
|
||||
// Automatically start the webserver if requested
|
||||
if (Config.WebinterfaceAutoStart)
|
||||
{
|
||||
Task.Run(() =>
|
||||
{
|
||||
ServerCore.Start();
|
||||
ServerCore.Run();
|
||||
});
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user