whats a good way to access the location hash thing in a html (like: https://test.com/callback#arg=2, everything after #) in ktor?
This doesn't seem to work:
call.respondHtml {
head {
title("Supabase In App Authentication")
}
body {
script {
unsafe { // will not escape the text
+"""const pairs = location.hash.substring(1).split("&").map(pair => pair.split("="))"""
}
}
}
}