From 7e71f571e450c0007924b3b38e02d29f3c842d60 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 8 Oct 2023 21:22:22 +0300 Subject: vnext: fix unauthenticated access --- vnext/src/index.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'vnext/src') diff --git a/vnext/src/index.js b/vnext/src/index.js index 7959186f..f648b105 100644 --- a/vnext/src/index.js +++ b/vnext/src/index.js @@ -29,7 +29,12 @@ function ready(fn) { } ready(async () => { - let visitor = await me() + let visitor + try { + visitor = await me() + } catch (e) { + visitor = undefined + } const JuickApp = () => ( -- cgit v1.2.3