INNER CODE UNIT · JavaScript
get
autokitteh/autokitteh · internal/backend/webtools/web/webmessages/app.js:28
const get = async () => {
if (window.location.protocol === 'file:') {
return []
}
try {
return fetch('msgs').then(resp => resp.json())
} catch (error) {
console.error(error)
}
}
window.onload = async () => {
inputPrefix.innerText = pathPrefixURL
last_msg_timestamp = null
const poll = async () => {