diff --git a/.gitignore b/.gitignore index a9a46b9..1877c70 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ main saved_notes static +conf.toml diff --git a/conf.toml b/conf.example.toml similarity index 82% rename from conf.toml rename to conf.example.toml index 32651b5..ab97bd5 100644 --- a/conf.toml +++ b/conf.example.toml @@ -1,5 +1,5 @@ extension = "md" -notesdir = "saved_notes" +notesdir = "/var/lib/gonotes/saved_notes" address = ":8080" protocol = "tcp" @@ -8,7 +8,9 @@ dir = "templates" base = "base.tmpl.html" [static] -dir = "/home/max/src/gonotes/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" },