- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Wrong MIME-type on JavaScript file
I've uploaded a directory with some JavaScript for an integration on a Weebly site.
It's in theme -> Edit HTML/CSS -> Assets
Here's the result on the published site. The MIME-type is set to PNG. I didn't see anywhere where I have control over this. How do I get Weebly to recognize directory.js as a JavaScript file and load it thus in the browser?
http://www.felconline.org/church-directory.html
See errors message in inspector, which should be some version of "Refused to execute script from 'http://www.felconline.org/files/theme/directory/directory.js' because its MIME type ('image/png') is not executable."
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Hi @robertknecht I don't think it's possible to upload an html file to the html/css area. I could be wrong, but I'm almost positive I've seen Adam make this comment before.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report