Rename to Developer Tooling. Fix landing page bug

This commit is contained in:
Tobias Baunbaek
2024-01-30 15:30:14 +01:00
parent d5fc807606
commit 43422c62f7
3 changed files with 19 additions and 12 deletions

View File

@@ -49,6 +49,8 @@ customElements.define('app-router', class AppRouter extends HTMLElement {
window.addEventListener('load', () => {
if (Pear.config.link.indexOf('pear://pulse') === 0) {
this.load(Pear.config.link.slice(12)).catch(console.error)
} else {
this.load('/')
}
})
}