Add example config
This commit is contained in:
parent
0ed802ba6a
commit
c384d86e59
2 changed files with 5 additions and 2 deletions
19
conf.example.toml
Normal file
19
conf.example.toml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
extension = "md"
|
||||
notesdir = "/var/lib/gonotes/saved_notes"
|
||||
address = ":8080"
|
||||
protocol = "tcp"
|
||||
|
||||
[templates]
|
||||
dir = "templates"
|
||||
base = "base.tmpl.html"
|
||||
|
||||
[static]
|
||||
dir = "/var/www/gonotes/static"
|
||||
|
||||
# These are not for changing!
|
||||
root = "/static/"
|
||||
assets = [
|
||||
{ path = "css/bootstrap.min.css", url = "https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" },
|
||||
{ path = "css/tiny-mde.min.css", url = "https://unpkg.com/tiny-markdown-editor/dist/tiny-mde.min.css" },
|
||||
{ path = "js/tiny-mde.min.js", url = "https://unpkg.com/tiny-markdown-editor/dist/tiny-mde.min.js" },
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue