Skip to content

fix(web): restore logo and favicon path on pages#90

Merged
minorcell merged 1 commit intomainfrom
dev
Feb 6, 2026
Merged

fix(web): restore logo and favicon path on pages#90
minorcell merged 1 commit intomainfrom
dev

Conversation

@minorcell
Copy link
Owner

Problem

After enabling GitHub Pages deployment under a repository subpath, header logo and tab icon requests were resolved from root (/logo.svg) and could be missing.

Fix

  • Expose NEXT_PUBLIC_BASE_PATH from web/next.config.ts
  • Use base-path-aware logoPath in:
    • web/components/site-header.tsx (header logo)
    • web/app/layout.tsx metadata icons (icon, shortcut, apple)

Validation

  • cd web && pnpm build
  • cd web && GITHUB_ACTIONS=true GITHUB_REPOSITORY=minorcell/memo-cli pnpm build
  • Exported HTML references /memo-cli/logo.svg for both header logo and favicon links

@minorcell minorcell merged commit 3613b60 into main Feb 6, 2026
2 checks passed
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