mirror of
https://github.com/vitorpamplona/amethyst.git
synced 2025-03-17 13:21:50 +01:00
This commit is contained in:
parent
429f9f81c4
commit
58b6be73ee
@ -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"
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user