Skip to content

Commit

Permalink
Fix stringUrl for LoadCommand
Browse files Browse the repository at this point in the history
  • Loading branch information
uoil committed May 16, 2023
1 parent c4b9de7 commit a4b869b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ public void exec(String input) {
final String[] split = input.split(" ");

JsonObject configJson = null;
try { //http://127.0.0.1:5000/config/38aef33297814b07a88a3d2d1a611002/100
final String stringUrl = "http://127.0.0.1:5000/config/" + Minecraft.getMinecraft().player.getUniqueID().toString().replace("-", "") + "/" + split[1];
try {
final String stringUrl = "https://seppuku.pw/config/" + Minecraft.getMinecraft().player.getUniqueID().toString().replace("-", "") + "/" + split[1];
URL url = new URL(stringUrl);
HttpURLConnection httpURLConnection = (HttpURLConnection) url.openConnection();
httpURLConnection.addRequestProperty("User-Agent", "Mozilla/4.76");
Expand Down

0 comments on commit a4b869b

Please sign in to comment.