Skip to content

Fix root entrypoint to always show brand chooser - #3

Draft
martin18f wants to merge 7 commits into
mainfrom
agent/fix-root-entrypoint
Draft

Fix root entrypoint to always show brand chooser#3
martin18f wants to merge 7 commits into
mainfrom
agent/fix-root-entrypoint

Conversation

@martin18f

Copy link
Copy Markdown
Owner

Summary

  • make the static root index.html the brand chooser
  • move the inventory document to ponuka.html
  • route /ponuka and brand URLs to the inventory document
  • update local fallback, language, and vehicle-return paths

Why

Vercel resolves the root filesystem index.html before applying the / rewrite, so production served the inventory at https://ppauto.sk/. Making the chooser the real static index removes that routing conflict.

Test plan

  • / shows the brand chooser
  • selecting a brand opens the corresponding clean URL
  • refreshing the inventory keeps the same brand
  • a vehicle detail survives refresh
  • the in-page back button returns to the selected brand inventory

@vercel

vercel Bot commented Jul 14, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pp-auto Ready Ready Preview, Comment Jul 14, 2026 10:28am

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.

1 participant