Aravind cbc9357c5c Show the landing page at / for signed-out visitors
The bare domain rendered Dashboard, so an anonymous visitor to the front door
was held on the spinner and then redirected to Google — the marketing page was
only reachable by knowing the /LandingPage URL.

Key the decision off appParams.token rather than the resolved auth state so it
settles synchronously, and the first paint is the landing page instead of a
spinner waiting on a bootstrap request that can only redirect them away. A
signed-in user still gets Dashboard.

Also treat auth_required on / as signed out. Reaching that branch there means a
token existed but is expired or revoked, and redirecting would trap the front
door in a login bounce.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-17 20:39:52 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30
2026-08-17 19:45:29 +05:30

Base44 Preview Template for MicroVM sandbox

This template is used by the server to preview user-apps.

user files

server creates the user-app files in the components, pages folders

server injected data

server injects app related data to app.config.js, which is used by App.jsx to render the components in the files.

Description
No description provided
Readme 3.7 MiB
Languages
JavaScript 99.7%
CSS 0.3%