Skip to content

Commit

Permalink
Report if env is dev env
Browse files Browse the repository at this point in the history
  • Loading branch information
IThundxr committed Sep 30, 2024
1 parent 12bd751 commit 93456e7
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@ public static void execute() {
// TODO switch to nonCriticalIoPool() in 1.21.1
Util.ioPool().submit(() -> {
String uri = String.format(
"https://update.api.ithundxr.dev/update-check?mod_id=%s&mod_version=%s&mc_version=%s&loader=%s",
"https://update.api.ithundxr.dev/update-check?mod_id=%s&mod_version=%s&mc_version=%s&loader=%s&dev=%s",
Numismatics.MOD_ID,
NumismaticsBuildInfo.VERSION,
SharedConstants.getCurrentVersion().getName(),
Loader.getActual()
Loader.getActual(),
Utils.isDevEnv()
);

HttpRequest request = HttpRequest.newBuilder()
Expand Down

0 comments on commit 93456e7

Please sign in to comment.