Update build files
This commit is contained in:
parent
ca98123efc
commit
461fdb1c98
1 changed files with 4 additions and 3 deletions
7
src/main/java/net/minecraft/hopper/HopperService.java
Normal file → Executable file
7
src/main/java/net/minecraft/hopper/HopperService.java
Normal file → Executable file
|
@ -13,11 +13,12 @@ import net.minecraft.hopper.Response;
|
|||
import net.minecraft.hopper.SubmitRequest;
|
||||
import net.minecraft.hopper.SubmitResponse;
|
||||
import net.minecraft.hopper.Util;
|
||||
import net.minecraft.launcher.LauncherConstants;
|
||||
|
||||
public final class HopperService {
|
||||
private static final String BASE_URL = "http://hopper.minecraft.net/crashes/";
|
||||
private static final URL ROUTE_SUBMIT = Util.constantURL("http://hopper.minecraft.net/crashes/submit_report/");
|
||||
private static final URL ROUTE_PUBLISH = Util.constantURL("http://hopper.minecraft.net/crashes/publish_report/");
|
||||
private static final String BASE_URL = LauncherConstants.BASE_URL+"hopper/crashes/";
|
||||
private static final URL ROUTE_SUBMIT = Util.constantURL(BASE_URL+"/submit_report/");
|
||||
private static final URL ROUTE_PUBLISH = Util.constantURL(BASE_URL+"/publish_report/");
|
||||
private static final String[] INTERESTING_SYSTEM_PROPERTY_KEYS = new String[]{"os.version", "os.name", "os.arch", "java.version", "java.vendor", "sun.arch.data.model"};
|
||||
private static final Gson GSON = new Gson();
|
||||
|
||||
|
|
Loading…
Reference in a new issue