Why does my Homebrewed View Counter Not Work on Profile README?

So I recently made a viewcounter using NodeJS and Express and it serves HTML content so it can embed itself in READMEs as an image. While it seems to work everywhere else, I can’t get it to display my counter on my Github README and instead it will display my 404 counter. Is this a problem with Github not using Express path parameters properly or am I not serving the right content?