From 3cd307cf1173ac4b73bcc567f4a14b2dc8a13ec2 Mon Sep 17 00:00:00 2001
From: zeusstl <zeusstl@users.noreply.github.com>
Date: Tue, 13 Oct 2020 22:20:08 -0400
Subject: [PATCH] Update README.md

Much needed explanation on usage and testing that would have literally saved me hours.
---
 README.md | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/README.md b/README.md
index 50614ca..4c0e5d4 100644
--- a/README.md
+++ b/README.md
@@ -24,3 +24,20 @@ For html2canvas >=v1.0.0 use >= v1.0.0 of this library.
     var app = express();
     app.use('/', proxy());
 
+#### Usage ####
+
+In HTML2Canvas do not use these configuration options (or set them to false):
+* allowTaint
+* useCors
+
+You should use this HTML2Canvas option:
+* proxy: '/'
+
+('/' should be replaced with whatever url you used as your proxy url - see Example above)
+
+#### Testing ####
+
+You can check if your proxy is set up correctly like this:
+* http://localhost/?url=https://yoururl.here
+
+You should replace http://localhost/ with your own.