aboutsummaryrefslogtreecommitdiff
path: root/vnext/src
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2023-10-08 21:22:22 +0300
committerGravatar Vitaly Takmazov2023-10-08 21:22:22 +0300
commit7e71f571e450c0007924b3b38e02d29f3c842d60 (patch)
tree2f40fd47d14ef572b663f0a61ef0aaa3ae09e49e /vnext/src
parent79c54301f1e1c3b72f451b98b3120f01461f35c9 (diff)
vnext: fix unauthenticated access
Diffstat (limited to 'vnext/src')
-rw-r--r--vnext/src/index.js7
1 files changed, 6 insertions, 1 deletions
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 = () => (
<StrictMode>
<HelmetProvider>