So this is rather interesting and possibly disturbing. Been working on a website project using Astro and do not have Prismic installed on this project. Today I started noticing that Astro's getStaticPaths() function keeps trying to find a route for either undefined or null. So decided to look at the GET request in the browser that was getting a 404 error. Opened it up and somehow it is trying to make a GET request to
io.prismic.preview={%22_tracker%22:%225e6NweRs%22%2C%22sdm-astro.prismic.io%22:{%22preview%22:%22https://sdm-astro.prismic.io/previews/ZhszvxEAACAAqF5X:Zhs2ZBEAAHJZqGoK?websitePreviewId=ZhsWqxEAAB4Ap90a%22}}
This is in no way related to my project or my current code base. So went to that old prismic repo, deleted the prismic repo, no change. Removed the prismic cli and even ran npm commands to make sure prismic was removed. If anyone has any idea why this tracking/preview cookie is trying to make requests from a separate project all of a sudden and how to remove or stop this it would be much appreciated. I honestly have been trying all kinds of things and the only things I can figure out is that when I run getStaticPaths() function in my Astro code, somehow this is also trying to make a get request which is is then a 404 error. I have no idea why or how this is happening since my current project has nothing to do with prismic. Everything was fine till today and that is the only thing I can see trying to put in a route request to either undefined or null.