summaryrefslogtreecommitdiffstats
path: root/docs/en/cowboy/2.6/guide/static_files/index.html
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2019-04-04 20:38:06 +0200
committerLoïc Hoguin <[email protected]>2019-04-04 20:38:06 +0200
commit8b84abfeb42f664f838def3708838e5ac7275443 (patch)
treefbb3c3c864f6eec7df3e88679f7aedde04d49d69 /docs/en/cowboy/2.6/guide/static_files/index.html
parentd1e24ed5ea37a5949e2f75af3fcc4bfda08df092 (diff)
downloadninenines.eu-8b84abfeb42f664f838def3708838e5ac7275443.tar.gz
ninenines.eu-8b84abfeb42f664f838def3708838e5ac7275443.tar.bz2
ninenines.eu-8b84abfeb42f664f838def3708838e5ac7275443.zip
Cowboy 2.6.2
Diffstat (limited to 'docs/en/cowboy/2.6/guide/static_files/index.html')
-rw-r--r--docs/en/cowboy/2.6/guide/static_files/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/en/cowboy/2.6/guide/static_files/index.html b/docs/en/cowboy/2.6/guide/static_files/index.html
index 1e351a40..4439e2c2 100644
--- a/docs/en/cowboy/2.6/guide/static_files/index.html
+++ b/docs/en/cowboy/2.6/guide/static_files/index.html
@@ -83,8 +83,8 @@ http://www.gnu.org/software/src-highlite -->
</div></div>
<h2 id="_serve_all_files_from_a_directory">Serve all files from a directory</h2>
<p>You can also use the static handler to serve all files that can be found in the configured directory. The handler will use the <code>path_info</code> information to resolve the file location, which means that your route must end with a <code>[...]</code> pattern for it to work. All files are served, including the ones that may be found in subfolders.</p>
-<p>You can specify the directory relative to an application&apos;s private directory.</p>
-<p>The following rule will serve any file found in the application <code>my_app</code>&apos;s priv directory inside the <code>static/assets</code> folder whenever the requested path begins with <code>/assets/</code>:</p>
+<p>You can specify the directory relative to the application&apos;s private directory (e.g. <code>my_app/priv</code>).</p>
+<p>The following rule will serve any file found in the <code>my_app</code> application&apos;s private directory in the <code>my_app/priv/static/assets</code> folder whenever the requested path begins with <code>/assets/</code>:</p>
<div class="listingblock"><div class="content"><!-- Generator: GNU source-highlight 3.1.8
by Lorenzo Bettini
http://www.lorenzobettini.it