-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
env.jsonc
81 lines (73 loc) · 2.01 KB
/
env.jsonc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
// A JSONC file is a JSON file with comments.
// This example configuration file uses comments to tell you information about available settings.
{
/**
* Port that Express should listen on.
*
* Default: 8000
*/
"port": 8000,
/**
* The upload server's base URL. Should include the http(s), and NO trailing slash.
*
* Default: "http:https://localhost:8000"
*/
"baseUrl": "https://u.davwheat.dev",
"auth": {
/**
* Master password. Needed to create new auth tokens via the web.
*
* Empty string means password access is disabled.
*
* Default: ""
*/
"password": ""
// "password": "!JRF_3)H$-d)EXm'~jXT/Yn?Fp_U!m=aGb<9]`!jqwCQ+;-Q:Reb,AF[p!B=zJq_WU.~aW+`9gg{g>4a)5$R&nM:vF!^'>zdrqA[NCuQ4zLm`wQxyZ??JxFS]!-Lp$Mr"
},
"uploads": {
/**
* Path to the folder containing all uploads.
* Default: ./uploads
*/
"path": "../uploads",
/**
* Whether the `path` is absolute or relative. If relative, the upload path is relative to the node process' current working directory.
*
* This should usually be this folder (repository root folder).
*
* Default: false (relative)
*/
"isPathAbsolute": false,
/**
* Length of randomised file names.
*
* The number of possible file names can be calculated by raising 52 to the power of this number, e.g. 52^8.
*
* Default: 8
*/
"fileNameLength": 8
},
/**
* Determines what files can be accessed. `true` if they are accessible, and `false` to return a 404.
*/
"fileRetrieval": {
/**
* Allows access to files starting with a dot (.).
*
* Default: false (no access)
*/
"dotfiles": false
},
"strings": {
/**
* Name shown in the copyright footer.
*/
"copyrightName": "David Wheatley"
},
"attribution": {
/**
* Shows a link to the GitHub project on the server home page.
*/
"homePageGitHubLink": true
}
}