diff --git a/examples/docs-examples/examples/transferring-data/transferDatainBrowser.html b/examples/docs-examples/examples/transferring-data/transferDatainBrowser.html index e3b69eb10..d6c58d0e7 100644 --- a/examples/docs-examples/examples/transferring-data/transferDatainBrowser.html +++ b/examples/docs-examples/examples/transferring-data/transferDatainBrowser.html @@ -11,7 +11,7 @@

WebRequestor - Meme Example

Options

- +
diff --git a/examples/docs-examples/examples/transferring-data/uploadHSONinBrowser.html b/examples/docs-examples/examples/transferring-data/uploadHSONinBrowser.html index fabc35865..60745d8ab 100644 --- a/examples/docs-examples/examples/transferring-data/uploadHSONinBrowser.html +++ b/examples/docs-examples/examples/transferring-data/uploadHSONinBrowser.html @@ -57,7 +57,7 @@

JSON upload and download

Options

- +
diff --git a/examples/docs-examples/quickstarts/web-quickstart/index.html b/examples/docs-examples/quickstarts/web-quickstart/index.html index 2554b7053..72c5d0cf9 100644 --- a/examples/docs-examples/quickstarts/web-quickstart/index.html +++ b/examples/docs-examples/quickstarts/web-quickstart/index.html @@ -11,7 +11,7 @@

WebRequestor - QuickStart

Options

- +
diff --git a/examples/docs-examples/tutorials/running-from-browser/index.html b/examples/docs-examples/tutorials/running-from-browser/index.html index 463bc03df..0805a5f19 100644 --- a/examples/docs-examples/tutorials/running-from-browser/index.html +++ b/examples/docs-examples/tutorials/running-from-browser/index.html @@ -11,7 +11,7 @@

WebRequestor - Hello World

Options

- +
diff --git a/examples/web/app.mjs b/examples/web/app.mjs index 138b90cc9..13b1dc203 100644 --- a/examples/web/app.mjs +++ b/examples/web/app.mjs @@ -27,6 +27,9 @@ const server = http.createServer((req, res) => { } else if (req.url === "/docs-quickstart") { res.writeHead(200, { "content-type": "text/html" }); fs.createReadStream(`${__dirname}/../docs-examples/quickstarts/web-quickstart/index.html`).pipe(res); + } else if (req.url === "/requestor.mjs") { + res.writeHead(200, { "content-type": "text/javascript" }); + fs.createReadStream(`${__dirname}/../docs-examples/quickstarts/web-quickstart/requestor.mjs`).pipe(res); } else if (req.url === "/golem-js.min.js") { res.writeHead(200, { "content-type": "text/javascript" }); fs.createReadStream(`${__dirname}/../../dist/golem-js.min.js`).pipe(res);