Change RuneLiteAPI#apiRoot to #sessionBase

- Rename apiRoot method to sessionBase method
- Move /session context path to sessionBase method

Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
This commit is contained in:
Tomas Slusny
2019-05-17 00:40:52 +02:00
parent 51f2d0ed43
commit 6071592e57
2 changed files with 5 additions and 8 deletions

View File

@@ -95,9 +95,9 @@ public class RuneLiteAPI
.build();
}
public static HttpUrl getApiRoot()
public static HttpUrl getSessionBase()
{
return HttpUrl.parse(BASE);
return HttpUrl.parse(BASE + "/session");
}
public static HttpUrl getApiBase()