pull/1/head
Matteo Cargnelutti 2022-11-18 14:18:32 -05:00
rodzic 4fb42cfabb
commit caea90e742
5 zmienionych plików z 9 dodań i 9 usunięć

2
.gitignore vendored
Wyświetl plik

@ -7,4 +7,4 @@ app/data/*.json
app/data/*.tsv
yt-dlp
app/tmp/*.pdf
app/tmp/*.mp4
app/tmp/*.mp4

Wyświetl plik

@ -9,7 +9,13 @@
* Path to the folder holding the certificates used for signing the PDFs.
* @constant
*/
export const CERTS_PATH = `${process.env.PWD}/certs/`;
export const CERTS_PATH = process.env.CERTS_PATH ? process.env.CERTS_PATH : `${process.env.PWD}/certs/`;
/**
* Path to the "data" folder.
*/
export const DATA_PATH = process.env.DATA_PATH ? process.env.DATA_PATH : `${process.env.PWD}/app/data/`;
/**
* Path to the folder in which temporary files will be written by the app.
@ -17,11 +23,6 @@ export const CERTS_PATH = `${process.env.PWD}/certs/`;
*/
export const TMP_PATH = `${process.env.PWD}/app/tmp/`;
/**
* Path to the "data" folder.
*/
export const DATA_PATH = `${process.env.PWD}/app/data/`;
/**
* Path to the "templates" folder.
*/

Wyświetl plik

@ -1 +0,0 @@
TODO: Add all the public keys we've used here for records keepins.

Wyświetl plik

@ -103,7 +103,7 @@
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam.</p>
<p><a href="/static/example.pdf">See an example</a>.</p>
<p><a href="/static/public-keys.txt">List of public keys we've used for signing</a>.</p>
<p><a href="/static/public-keys.txt">Public keys we've used for signing</a>.</p>
</section>
<!-- FOOTER -->