aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLaurent Bercot <ska-skaware@skarnet.org>2024-01-30 21:04:01 +0000
committerLaurent Bercot <ska@appnovation.com>2024-01-30 21:04:01 +0000
commitfc041e21a22e7d7f05bc0d99470f81ba9b000623 (patch)
treec527a494594bfa8ed48919609f90670546dd9c9a
parent21d51f7e0a639a3224ffc45dc3c06854decf1d45 (diff)
downloadapaste-fc041e21a22e7d7f05bc0d99470f81ba9b000623.tar.gz
Document prefix more accurately
Signed-off-by: Laurent Bercot <ska@appnovation.com>
-rw-r--r--doc/apasted.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/apasted.html b/doc/apasted.html
index 98ec51d..878b5cd 100644
--- a/doc/apasted.html
+++ b/doc/apasted.html
@@ -77,7 +77,8 @@ apasted's working directory. </dd>
<dt> -p <em>prefix</em> </dt>
<dd> When sending a slug to the client, prefix <em>subdir</em> with <em>prefix</em>,
-and append a slash at the end. This is useful when apasted writes its files to
+and append a slash at the end if <em>prefix</em> starts with <tt>http</tt>.
+This is useful when apasted writes its files to
a web server's document hierarchy, which is the intended case. If <em>prefix</em>
is the URL of apasted's base directory, then the slug can directly be used as a
URL to access the client's files. </dd>