Skip to content

Commit

Permalink
Swap to custom user-agent for network requests
Browse files Browse the repository at this point in the history
  • Loading branch information
MrFast-js committed Aug 5, 2024
1 parent bcbe7bc commit af7ff3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/mrfast/sbt/utils/NetworkUtils.kt
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ object NetworkUtils {
throw RuntimeException(e)
}

client = HttpClients.custom().setSSLSocketFactory(sslcsf).setUserAgent("Mozilla/5.0").build()
client = HttpClients.custom().setSSLSocketFactory(sslcsf).setUserAgent("Skyblock-Tweaks").build()
}

data class CacheObject(val url: String, val response: JsonObject, val createdAt: Long = System.currentTimeMillis())
Expand Down

0 comments on commit af7ff3d

Please sign in to comment.