Added my project today and noticed some console errors, I tried fixing them myself and hunting through the faq but couldn’t seem to fix them eventually.
Glitch doesn’t seem to like my style.css, is there some additional config to make it accept?
Also I am getting a lot of 429 errors which apparently is me requesting the file too many times. I think I only requested a couple of times from the server, and then it does not get loaded by the client index.html file anymore.
Are other people getting these types of errors?
I am not able to load in the needed javascript to run the front end. Am I loading these javascript files wrong perhaps?
In my server.js it is serving the view like this:
app.get(’/’, (request, response) => {
response.sendFile(__dirname + ‘/views/index.html’);
});
Pretty much a copy paste from the express template.
I think the content type errors are a red herring, as the files on the file system don’t have the MIME type it’s saying. I think it’s getting a 429 error back and is referring to that.
Projects are limited to 4000 requests per hour, with a burst of 4000 requests. Subsequent requests will return a 429 “Too Many Requests” response. So if you fix up the request limiting, then both issues should be resolved.