Añade carga de archivos estáticos desde directorio
Con el ajuste de configuración "dev.static_files" se puede elegir entre integrar los archivos estáticos en el binario ejecutable (por defecto) o servirlos desde su propio directorio. Esto facilita el desarrollo al no tener que compilar cada vez que se modifican estos archivos.
This commit is contained in:
parent
3ee5859eae
commit
e3f592b3b0
18 changed files with 93 additions and 71 deletions
|
|
@ -1,12 +1,12 @@
|
|||
[app]
|
||||
name = "Drust"
|
||||
description = """\
|
||||
A modern Content Management System for sharing the world.\
|
||||
A modern web Content Management System to share your world.\
|
||||
"""
|
||||
language = "es-ES"
|
||||
#theme = "Aliner"
|
||||
#theme = "Minimal"
|
||||
theme = "Bootsier"
|
||||
language = "es-ES"
|
||||
|
||||
[database]
|
||||
db_type = "mysql"
|
||||
|
|
@ -16,3 +16,6 @@ db_pass = "DrU__#3T"
|
|||
|
||||
[log]
|
||||
tracing = "Info,sqlx::query=Warn"
|
||||
|
||||
[dev]
|
||||
#static_files = "pagetop/static"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue