From 23e66f338fe8c2a0380e438743e5fc5cfc7ad859 Mon Sep 17 00:00:00 2001 From: Valtteri Vuorikoski Date: Fri, 17 Jul 2020 17:17:59 +0300 Subject: Added env var docs to README. --- README.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 7432021..b5459db 100644 --- a/README.md +++ b/README.md @@ -5,4 +5,7 @@ # How to use Send your request to the server with the port 3000 and add your URL to the "url" query string like this: -`http://localhost:3000/?url=https://example.org` \ No newline at end of file +`http://localhost:3000/?url=https://example.org` + +To show the browser window, set the environment variable `PUPPETEER_HEADFUL=1`. To use a proxy, +set the `PUPPETEER_PROXY` environment variable, for example `PUPPETEER_PROXY=localhost:8080`. -- cgit v1.2.3