Permalink
Browse files

README.md updated with troubleshooting.

  • Loading branch information...
1 parent 801f25d commit 798b2f0b0335d97502e1a1df2f2e759cc7382d08 Angelo Michel committed May 6, 2011
Showing with 6 additions and 0 deletions.
  1. +6 −0 README.md
View
@@ -116,6 +116,12 @@ PDFKit comes with a middleware that allows users to get a PDF view of any page o
HTML source make sure you use complete paths (either file paths or
urls including the domain).
+* **Resource url differ from server env:** Image sources and hrefs in
+ the PDF link to the environment variables by default. The code is
+ executed on the server, so if the @env domain is blocked or used
+ interally, the PDF generated could be missing images. You can set a
+ root_url in the configuration that is used to point to these images.
+
## TODO
- add amd64 support in --install-wkhtmltopdf

0 comments on commit 798b2f0

Please sign in to comment.