My script.py creates a temporary file using a relative path. When running it as: python script.py it works as expected.
This is stored data in mongodb of pdf. In Materialthe binary data of the pdf. I want to show this pdf on the r开发者_StackOverflow社区eact application.