pull/16/head
Matteo Cargnelutti 2022-11-29 16:02:23 -05:00
rodzic 65315dcaa6
commit fd6cd6ab0f
3 zmienionych plików z 12 dodań i 5 usunięć

Wyświetl plik

@ -8,7 +8,7 @@ import fs from "fs";
/**
* Path to the folder holding the certificates used for signing the PDFs.
* Defaults to `./certs`
* Defaults to `./certs/`
* Can be replaced via the `CERTS_PATH` env variable.
* @constant
*/
@ -16,7 +16,7 @@ export const CERTS_PATH = process.env.CERTS_PATH ? process.env.CERTS_PATH : `${p
/**
* Path to the "data" folder.
* Defaults to `./app/data`
* Defaults to `./app/data/`
* Can be replaced via the `DATA_PATH` env variable.
* @constant
*/
@ -30,7 +30,7 @@ export const TMP_PATH = `${process.env.PWD}/app/tmp/`;
/**
* Path to the "templates" folder.
* Defaults to `./app/templates`
* Defaults to `./app/templates/`
* Can be replaced via the `TEMPLATES_PATH` env variable.
* @constant
*/

Wyświetl plik

@ -22,7 +22,7 @@ thread-keeper
### const.CERTS\_PATH
Path to the folder holding the certificates used for signing the PDFs.
Defaults to `./certs`
Defaults to `./certs/`
Can be replaced via the `CERTS_PATH` env variable.
**Kind**: static constant of [<code>const</code>](#module_const)
@ -30,7 +30,7 @@ Can be replaced via the `CERTS_PATH` env variable.
### const.DATA\_PATH
Path to the "data" folder.
Defaults to `./app/data`
Defaults to `./app/data/`
Can be replaced via the `DATA_PATH` env variable.
**Kind**: static constant of [<code>const</code>](#module_const)
@ -44,6 +44,8 @@ Path to the folder in which temporary files will be written by the app.
### const.TEMPLATES\_PATH
Path to the "templates" folder.
Defaults to `./app/templates/`
Can be replaced via the `TEMPLATES_PATH` env variable.
**Kind**: static constant of [<code>const</code>](#module_const)
<a name="module_const.EXECUTABLES_FOLDER"></a>

Wyświetl plik

@ -12,6 +12,7 @@ thread-keeper
* [.options](#module_server.options)
* [.CAPTURES_WATCH](#module_server.CAPTURES_WATCH) : <code>Object</code>
* _inner_
* [~nunjucksEnv](#module_server..nunjucksEnv) : <code>nunjucks.Environment</code>
* [~ipBlockList](#module_server..ipBlockList) : <code>IPBlockList</code>
* [~accessKeys](#module_server..accessKeys) : <code>AccessKey</code>
* [~index(request, reply)](#module_server..index) ⇒ <code>Promise.&lt;fastify.FastifyReply&gt;</code>
@ -38,6 +39,10 @@ May be used to redirect users if over capacity.
[!] Only good for early prototyping.
**Kind**: static constant of [<code>server</code>](#module_server)
<a name="module_server..nunjucksEnv"></a>
### server~nunjucksEnv : <code>nunjucks.Environment</code>
**Kind**: inner constant of [<code>server</code>](#module_server)
<a name="module_server..ipBlockList"></a>
### server~ipBlockList : <code>IPBlockList</code>