Skip to content

fix: restore VitePress base for asset routing - #355

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

ajianaz merged 1 commit into
mainfrom
fix/restore-base

Conversation

@ajianaz

@ajianaz ajianaz commented Jun 14, 2026

Copy link
Copy Markdown
Collaborator

Restore base config. Worker will NOT strip prefix — proxy /docs/{project}/* as-is to CF Pages.

@ajianaz
ajianaz merged commit 5bebbd6 into main Jun 14, 2026
@github-actions

Copy link
Copy Markdown

🔍 Cora AI Code Review

❌ Blocked — critical issues found.

🔴 Error (3)

  • docs/.vitepress/config.ts:1 — The diff removes the entire defineConfig({...}) export from docs/.vitepress/config.ts, leaving only a blank line. Without a default config export, the docs site loses its title, base path, navigation, sidebar, and other required settings, and the build may fail or generate incorrect output.
  • .github/workflows/deploy-website.yml:56 — The workflow changed pages deploy ... --branch=main to pages deploy ... without the branch flag. This makes the deployment target depend on Wrangler's defaults or the current Git context instead of explicitly publishing to main, which can route deployments to the wrong environment or create preview deployments unexpectedly.
  • docs/.vitepress/config.ts:1 — The deleted config included base: '/docs/uteke/'. With the file now empty, that base path is no longer configured. For a site served under a subpath, generated asset URLs and internal links will resolve from / instead of /docs/uteke/, causing broken navigation and missing static assets in production.

Review powered by cora-cli · BYOK · MIT

@ajianaz
ajianaz deleted the fix/restore-base branch July 9, 2026 14:28
ajianaz added a commit that referenced this pull request Aug 13, 2026
fix: restore VitePress base for asset 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