Fastapi html to pdf. How can I get the root path work and render custom.