Skip to content

Route root static entry to /frontend/index.html instead of deprecated landing page - #5

Merged
devXyi merged 1 commit into
mainfrom
copilot/update-landing-to-index
May 15, 2026
Merged

devXyi merged 1 commit into
mainfrom
copilot/update-landing-to-index

Conversation

Copilot AI commented May 15, 2026

Copy link
Copy Markdown
Contributor

The root static entrypoint was still redirecting unauthenticated users to landing.html. This updates the routing target to index.html so the site opens the current frontend entry page.

  • Problem addressed

    • Root-level static routing referenced an outdated page (/frontend/landing.html) rather than the active frontend entry (/frontend/index.html).
  • Change

    • Updated the unauthenticated branch of the root redirect logic in /index.html:
      • window.location.replace('/frontend/landing.html')
      • → window.location.replace('/frontend/index.html')
    • Authenticated routing remains unchanged (/frontend/meteorium.html).
  • Code delta (core)

    <script>
      (function () {
        var token = localStorage.getItem('token') || localStorage.getItem('prx_token');
        if (token) {
          window.location.replace('/frontend/meteorium.html');
          return;
        }
        window.location.replace('/frontend/index.html');
      })();
    </script>

Copilot AI review requested due to automatic review settings May 15, 2026 12:58
Copilot AI removed the request for review from Copilot May 15, 2026 12:58
@devXyi
devXyi marked this pull request as ready for review May 15, 2026 12:59
Copilot AI review requested due to automatic review settings May 15, 2026 12:59
@devXyi
devXyi merged commit 2c7d69d into main May 15, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the root static entrypoint redirect so unauthenticated users are sent to the current frontend entry page (/frontend/index.html) instead of the deprecated /frontend/landing.html, while keeping authenticated routing to Meteorium unchanged.

Changes:

  • Changed unauthenticated root redirect target from /frontend/landing.html to /frontend/index.html.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

devXyi added a commit that referenced this pull request Oct 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants