Skip to content

Commit

Permalink
fix: did:web URI
Browse files Browse the repository at this point in the history
  • Loading branch information
waltkb committed Nov 26, 2023
1 parent 7aa754b commit de5782e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/id/walt/model/did/DidWeb.kt
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
}
}
Expand Down

0 comments on commit de5782e

Please sign in to comment.