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