diff options
| author | jvoisin | 2019-03-04 14:21:34 -0800 |
|---|---|---|
| committer | jvoisin | 2019-03-04 14:21:34 -0800 |
| commit | 475d7d9bc70f2f35031ccfea8e18cdc8006882d2 (patch) | |
| tree | 4d6b3bccbe909ebb45e05d4b7bd829e51424d0f8 /README.md | |
| parent | 15a1139577809b64a9f5e8048e52b643525a79a9 (diff) | |
| parent | c52b4178403b641c4383bafc41be44ae4e669394 (diff) | |
Merge branch 'custom_templates' into 'master'
Add support to override default templates with custom ones (Fixes: #14)
Closes #14
See merge request jvoisin/mat2-web!4
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 6 |
1 files changed, 6 insertions, 0 deletions
| @@ -79,6 +79,12 @@ collector cronjob to remove leftover files . Besides, it can create a | |||
| 79 | the uploads folder, to ensure that the uploaded files won't be recoverable | 79 | the uploads folder, to ensure that the uploaded files won't be recoverable |
| 80 | between reboots. | 80 | between reboots. |
| 81 | 81 | ||
| 82 | # Custom templates | ||
| 83 | |||
| 84 | You can override the default templates from `templates/` by putting replacements | ||
| 85 | into the directory path that's configured in `app.config['CUSTOM_TEMPLATES_DIR']` | ||
| 86 | (default `custom_templates/`). | ||
| 87 | |||
| 82 | # Threat model | 88 | # Threat model |
| 83 | 89 | ||
| 84 | - An attacker in possession of the very same file that a user wants to clean, | 90 | - An attacker in possession of the very same file that a user wants to clean, |
