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

Solve MimeType error #48

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

barnardnicholas
Copy link

Encountered blank screen with this error on Chrome & Firefox:

The stylesheet https://rcmp-db-missing-persons.netlify.app/missing-persons/assets/index-f817a89d.css was not loaded because its MIME type, "text/html", is not "text/css".

Error did not happen when I ran the project locally. May be caused by leading forward slash in script tag in index.html. Changed path from "/src/main.tsx" to "src/main.tsx". Didn't break the app locally and might work for the hosted version?

Encountered blank screen with this error on Chrome & Firefox:

```
The stylesheet https://rcmp-db-missing-persons.netlify.app/missing-persons/assets/index-f817a89d.css was not loaded because its MIME type, "text/html", is not "text/css".
```
Error did not happen when I ran the project locally.
May be caused by leading forward slash in script tag in index.html. Changed path from "/src/main.tsx" to "src/main.tsx". Didn't break the app locally and might work for the hosted version?
@netlify
Copy link

netlify bot commented Sep 26, 2023

Deploy Preview for rcmp-db-missing-persons ready!

Name Link
🔨 Latest commit 3c65794
🔍 Latest deploy log https://app.netlify.com/sites/rcmp-db-missing-persons/deploys/65136bd55e3b2d00088dd2c7
😎 Deploy Preview https://deploy-preview-48--rcmp-db-missing-persons.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

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