Skip to content
This repository was archived by the owner on Apr 3, 2025. It is now read-only.

Commit b2a512f

Browse files
Add env var info to settings.toml
1 parent b0d29f7 commit b2a512f

File tree

1 file changed

+33
-27
lines changed

1 file changed

+33
-27
lines changed

pste/resources/config/settings.toml

Lines changed: 33 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
##
2+
## Configuration can be done here or via env vars.
3+
## Env var formatting is documented here: https://www.dynaconf.com/envvars/
4+
## Env var prefix is set to 'CFG_' instead of 'DYNACONF_'.
5+
##
6+
17
# Site name
28
name = "pste"
39

@@ -19,33 +25,33 @@ redis_url = ""
1925

2026
# File extensions that will be displayed as plaintext regardless of the file's mimetype.
2127
plaintext_types = [
22-
"txt",
23-
"php",
24-
"rb",
25-
"sh",
26-
"py",
27-
"conf",
28-
"c",
29-
"cpp",
30-
"java",
31-
"rs",
32-
"html",
33-
"htm",
34-
"js",
35-
"xml",
36-
"sql",
37-
"lua",
38-
"cs",
39-
"pl",
40-
"md",
41-
"ini",
42-
"shtml",
43-
"yaml",
44-
"cfg",
45-
"go",
46-
"fish",
47-
"yml",
48-
"bash"
28+
"txt",
29+
"php",
30+
"rb",
31+
"sh",
32+
"py",
33+
"conf",
34+
"c",
35+
"cpp",
36+
"java",
37+
"rs",
38+
"html",
39+
"htm",
40+
"js",
41+
"xml",
42+
"sql",
43+
"lua",
44+
"cs",
45+
"pl",
46+
"md",
47+
"ini",
48+
"shtml",
49+
"yaml",
50+
"cfg",
51+
"go",
52+
"fish",
53+
"yml",
54+
"bash",
4955
]
5056

5157
# If disabled, users can only be created via 'flask user create'.

0 commit comments

Comments
 (0)