Meteor - Why a web application shows loading forever, and WebSockets says what is expected

I am new to meteorites and I just deployed my first test application. The problem I encountered is related to the deployed application, when I visit the site, the FavIcon image in Google Chrome, for example, always shows the download.

When I go to the network tab in the debugger, it shows that WebSockets is pending.

loading bar

debugger

I don’t know if his OCD or something, but it is really annoying when it happens in circles forever and always. This is also one of my first cases of working with WebSockets, so I don’t know if this behavior is normal. Any information would be greatly appreciated.

+4
source share
1 answer

I had the same problem rendering favicon on localhost, but not when deploying to meteor.com. From memory, I had to change the icon url to include an extra "/" in front. In my case, my graphic objects are in the "public / art /" folder, and I had to change the line in "head" to read:

<link rel="icon" sizes="16x16 32x32 64x64" href="/art/favicon.ico">
0
source

All Articles