Skip to content

fix: resolve 404 deployment issue by using relative base path#9

Merged
maruf-pfc merged 1 commit intoblackstart-labs:mainfrom
maruf-pfc:fix/deploy-base-path
Apr 5, 2026
Merged

fix: resolve 404 deployment issue by using relative base path#9
maruf-pfc merged 1 commit intoblackstart-labs:mainfrom
maruf-pfc:fix/deploy-base-path

Conversation

@maruf-pfc
Copy link
Copy Markdown
Contributor

I have filled out the Pull Request template for the fix in the fix/deploy-base-path branch:

Proposed Changes

  1. Resolved 404 errors for CSS/JS assets on deployed GitHub Pages.
  2. Updated vite.config.js to use a relative base path (base: './').

Description
The deployment was failing with a blank white screen due to 404 errors for static assets. This was caused by the base path being hardcoded to /github-issue-tracker/, which was incorrect for the specific environment. Since the application uses Hash History, switching to a relative base path (./) ensures that the index.html correctly locates its assets regardless of the repository name or subdirectory.

Related Issues
Resolves the white screen deployment issue.

@maruf-pfc maruf-pfc self-assigned this Apr 5, 2026
@maruf-pfc maruf-pfc merged commit d2e40c0 into blackstart-labs:main Apr 5, 2026
1 of 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