Skip to content
Myr

Fixed doc typo

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent d2434b5 · Browse files · 3 files+3 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

3 files+3 added−3 removed

  • other:+3 added−3 removed

3 files+3 added−3 removed

modified:docs/guide.1+1 added-1 removed
609 unmodified lines
610.611.IP "" 0612.613.P614\fBNOTE\fR: this is \fInot\fR a replacement for Connect\'s \fIstaticProvider\fR middleware, nor does it perform any security checks, use with caution when using in a dynamic manor\.614\fBNOTE\fR: this is \fInot\fR a replacement for Connect\'s \fIstaticProvider\fR middleware, nor does it perform any security checks, use with caution when using in a dynamic manner\.615.616.SS "res\.download(file[, filename])"617Transfer the given \fIfile\fR as an attachment with optional alternative \fIfilename\fR\.618.
242 unmodified lines
modified:docs/guide.html+1 added-1 removed
623 unmodified lines
624<pre><code>res.sendfile('path/to/my.file');625</code></pre>626627<p><strong>NOTE</strong>: this is <em>not</em> a replacement for Connect's <em>staticProvider</em> middleware,628nor does it perform any security checks, use with caution when using in a dynamic manor.</p>628nor does it perform any security checks, use with caution when using in a dynamic manner.</p>629630<h3 id="res-download-file-filename-">res.download(file[, filename])</h3>631632<p>Transfer the given <em>file</em> as an attachment with optional alternative <em>filename</em>.</p>
155 unmodified lines
modified:docs/guide.md+1 added-1 removed
373 unmodified lines
374375 res.sendfile('path/to/my.file');376377**NOTE**: this is _not_ a replacement for Connect's _staticProvider_ middleware,378nor does it perform any security checks, use with caution when using in a dynamic manor.378nor does it perform any security checks, use with caution when using in a dynamic manner.379380### res.download(file[, filename])381382Transfer the given _file_ as an attachment with optional alternative _filename_.
134 unmodified lines