mirror of
https://github.com/sinatra/sinatra
synced 2023-03-27 23:18:01 -04:00
doc public_dir
This commit is contained in:
parent
3054dbcb9d
commit
a8d0f9a162
2 changed files with 5 additions and 0 deletions
|
@ -1422,6 +1422,9 @@ O varias:
|
|||
sección sobre la configuración de protección de ataques
|
||||
más arriba.
|
||||
|
||||
[public_dir] alias para <tt>public_folder</tt>, que se encuentra a
|
||||
continuación.
|
||||
|
||||
[public_folder] path del directorio desde donde se sirven los archivos
|
||||
públicos. Solo se utiliza cuando se sirven archivos
|
||||
estáticos (ver la opción <tt>static</tt>). Si no
|
||||
|
|
|
@ -1367,6 +1367,8 @@ You can also hand in an array in order to disable a list of protections:
|
|||
[protection] Whether or not to enable web attack protections. See
|
||||
protection section above.
|
||||
|
||||
[public_dir] Alias for <tt>public_folder</tt>. See below.
|
||||
|
||||
[public_folder] Path to the folder public files are served from. Only
|
||||
used if static file serving is enabled (see
|
||||
<tt>static</tt> setting below). Inferred from
|
||||
|
|
Loading…
Reference in a new issue