From e3fc5f5f10fbb8943cf2268143246bcc25e142e8 Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Wed, 25 Jun 2025 22:53:22 +0100 Subject: [PATCH] Remove stale static config --- conf.example.toml | 3 --- internal/conf/conf.go | 3 --- 2 files changed, 6 deletions(-) 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 (