mirror of
https://github.com/jie65535/GrasscutterCommandGenerator.git
synced 2025-10-20 19:39:47 +08:00
Small optimization
This commit is contained in:
@@ -12,11 +12,12 @@ namespace GrasscutterTools.OpenCommand
|
||||
public OpenCommandAPI(string host)
|
||||
{
|
||||
Host = host;
|
||||
API = host + "/opencommand/api";
|
||||
}
|
||||
|
||||
public string Host { get; }
|
||||
|
||||
private string API => Host + "/opencommand/api";
|
||||
private readonly string API;
|
||||
|
||||
public string Token { get; set; }
|
||||
|
||||
|
Reference in New Issue
Block a user