Hello. I installed prismic with Express. Everything seems to be running smoothly.
There is only one problem. When I search for a document with getByUID, it first finds it and sends the information to the pug, but immediately after that it gives a document not found error.
I am sharing the code and screenshot of the errors.
It couldn't reach main.css as I added (comment) to Pug. That's why the uid is getting the main.css value as the second. When I changed it to 'style', the problem was gone. Thanks.