Skip to content

fix: remove VitePress base — Worker handles routing - #358

Merged
ajianaz merged 1 commit into
mainfrom
fix/no-base-final
Jun 14, 2026
Merged

ajianaz merged 1 commit into
mainfrom
fix/no-base-final

Conversation

@ajianaz

@ajianaz ajianaz commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

VitePress base removed. CF Pages serves at root. Worker injects <base href> for correct asset resolution under /docs/{project}/.

@ajianaz
ajianaz merged commit f1e2842 into main Jun 14, 2026
1 check passed
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

❌ Blocked — critical issues found.

🔴 Error (2)

  • .github/workflows/deploy-website.yml:56 — The deploy command changed from pages deploy ... --branch=main to pages deploy ... with no branch specified. In Cloudflare Pages, the branch value is used to determine whether the deployment targets the production branch or a preview environment. Without --branch=main, this workflow may create non-production deployments depending on the GitHub ref or Wrangler defaults, which can break the expected production publish behavior.
  • docs/.vitepress/config.ts:7 — The base: '/docs/uteke/' setting was removed while the config still uses root-relative asset URLs such as href: '/favicon.svg'. VitePress uses base to prefix generated asset and route URLs when the site is served from a subpath. If the deployed site is not hosted at the domain root, generated links and static assets will resolve incorrectly and pages may 404.

Review powered by cora-cli · BYOK · MIT

@ajianaz
ajianaz deleted the fix/no-base-final branch July 9, 2026 14:28
ajianaz added a commit that referenced this pull request Aug 13, 2026
fix: remove VitePress base — Worker handles routing
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