From d661d58521a0967c42863916ad98572935c890c9 Mon Sep 17 00:00:00 2001 From: dmc Date: Tue, 30 Jan 2024 23:20:10 +0100 Subject: [PATCH] deep-link fix --- lib/app-router.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/app-router.js b/lib/app-router.js index d99b7fd..c9c75ce 100644 --- a/lib/app-router.js +++ b/lib/app-router.js @@ -47,8 +47,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) + if (Pear.config.link.indexOf('pear://runtime') === 0) { + this.load(Pear.config.link.slice(14)).catch(console.error) } else { this.load('/') }