mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-04 10:21:40 +00:00
develop
This commit is contained in:
@@ -51,6 +51,11 @@ templ indexFile(cfg string) {
|
||||
</html>
|
||||
}
|
||||
|
||||
templ serviceWorker() {
|
||||
<script>
|
||||
</script>
|
||||
}
|
||||
|
||||
script initializeMotr(config string) {
|
||||
const motr = new Motr(JSON.parse(config));
|
||||
|
||||
@@ -100,7 +105,6 @@ script initializeMotr(config string) {
|
||||
document.getElementById('output').innerHTML = `<p>Error: ${error.message}</p>`;
|
||||
}
|
||||
}
|
||||
|
||||
// Run the demo when the page loads
|
||||
window.onload = demo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user