diff --git a/conf.example.toml b/conf.example.toml index 034c13e..99899e3 100644 --- a/conf.example.toml +++ b/conf.example.toml @@ -2,6 +2,3 @@ extension = "md" notesdir = "/var/lib/gonotes/saved_notes" address = ":8080" protocol = "tcp" - -[static] -dir = "/var/www/gonotes/static" diff --git a/internal/conf/conf.go b/internal/conf/conf.go index 5124677..f8689ef 100644 --- a/internal/conf/conf.go +++ b/internal/conf/conf.go @@ -58,9 +58,6 @@ type Config struct { Protocol string Extension string NotesDir string - Static struct { - Dir string - } } var (