diff --git a/src/main/kotlin/id/walt/model/did/DidWeb.kt b/src/main/kotlin/id/walt/model/did/DidWeb.kt index ef9e37d0..a9429c60 100644 --- a/src/main/kotlin/id/walt/model/did/DidWeb.kt +++ b/src/main/kotlin/id/walt/model/did/DidWeb.kt @@ -63,7 +63,7 @@ class DidWeb( getPath(didUrl).let { path -> return when { path.isEmpty() -> URI.create("https://${getDomain(didUrl)}/.well-known/did.json") - else -> URI.create("https://${getDomain(didUrl)}/${path}/did.json") + else -> URI.create("https://${getDomain(didUrl)}/.well-known/${path}/did.json") } } }