Vitor Pamplona 2025-03-10 18:32:43 -04:00
parent 429f9f81c4
commit 58b6be73ee

View File

@ -21,7 +21,6 @@
package com.vitorpamplona.quartz.nip73ExternalIds
import com.vitorpamplona.quartz.utils.toStringNoFragment
import com.vitorpamplona.quartz.utils.toStringSchemeHost
import org.czeal.rfc3986.URIReference
class UrlId(
@ -37,6 +36,6 @@ class UrlId(
companion object {
fun toScope(url: String) = URIReference.parse(url).normalize().toStringNoFragment()
fun toKind(url: String) = URIReference.parse(url).normalize().toStringSchemeHost()
fun toKind(url: String) = "web"
}
}