fix http caching
Some checks failed
Publish to snapshot maven / build (push) Failing after 16s

This commit is contained in:
moehreag 2024-05-19 18:23:19 +02:00
parent ff38c2028e
commit b111afe9a5

View file

@ -40,7 +40,7 @@ object CachingHttpClient {
private fun getCacheFile(uri: URI): Path {
val path = NonsenseGradlePlugin.nonsenseCacheDir.resolve("httpCache")
.resolve(uri.toString().substring(uri.scheme.length + 2))
.resolve(uri.toString().substring(uri.scheme.length + 3))
path.createParentDirectories()
return path
}