Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix base path error #106

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Fix base path error #106

merged 1 commit into from
Jan 8, 2024

Conversation

chrisdavidmills
Copy link
Collaborator

Description

Live application is failing to load on gh-pages with the following error:

"Loading module from “https://mdn.github.io/assets/index-u64nDbB7.js” was blocked because of a disallowed MIME type (“text/html”).
todo-react
Loading failed for the module with source “https://mdn.github.io/assets/index-u64nDbB7.js”."

This looks to be because the base path is not defined in the vite config.

Fixes #102

Motivation

Additional details

Related issues and pull requests

This comment was marked as outdated.

@bsmth
Copy link
Member

bsmth commented Jan 8, 2024

Thanks, Chris! I think this makes sense, let's merge and check how the deploy goes. I'll keep an eye on it 👀

@bsmth
Copy link
Member

bsmth commented Jan 8, 2024

@bsmth bsmth merged commit 38c676f into main Jan 8, 2024
4 checks passed
@bsmth bsmth deleted the chrisdavidmills-patch-2 branch January 8, 2024 09:25

This comment was marked as outdated.

@chrisdavidmills
Copy link
Collaborator Author

Thanks, Chris! I think this makes sense, let's merge and check how the deploy goes. I'll keep an eye on it 👀

Nice one, cheers @bsmth!

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.

GH pages base paths for assets is wrong/missing
2 participants