Undid change to -rest-enabled that would limit the functionality of the startup parameter.
This commit is contained in:
parent
ccee8f3ff4
commit
9df8785415
1 changed files with 1 additions and 1 deletions
|
|
@ -375,7 +375,7 @@ namespace TShockAPI
|
|||
}
|
||||
if (parms[i].ToLower() == "-rest-enabled")
|
||||
{
|
||||
Config.RestApiEnabled = true;
|
||||
Config.RestApiEnabled = Convert.ToBoolean(parms[++i]);
|
||||
Console.WriteLine("Startup parameter overrode REST enable.");
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue