From 8b3cf2ed7eb1248cd0dae26686f739c746a1dce0 Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 8 Feb 2024 22:59:12 +0100 Subject: [PATCH] chore: remove static path config option --- config.yml.sample | 2 -- pkg/config/config.go | 2 -- 2 files changed, 4 deletions(-) diff --git a/config.yml.sample b/config.yml.sample index 5b5597668..2dc761499 100644 --- a/config.yml.sample +++ b/config.yml.sample @@ -22,8 +22,6 @@ service: # Vikunja will also look in this path for a config file, so you could provide only this variable to point to a folder # with a config file which will then be used. rootpath: - # Path on the file system to serve static files from. Set to the path of the frontend files to host frontend alongside the api. - staticpath: "" # The max number of items which can be returned per page maxitemsperpage: 50 # Enable the caldav endpoint, see the docs for more details diff --git a/pkg/config/config.go b/pkg/config/config.go index faf5df7db..06da020b1 100644 --- a/pkg/config/config.go +++ b/pkg/config/config.go @@ -47,7 +47,6 @@ const ( ServiceFrontendurl Key = `service.frontendurl` ServiceEnableCaldav Key = `service.enablecaldav` ServiceRootpath Key = `service.rootpath` - ServiceStaticpath Key = `service.staticpath` ServiceMaxItemsPerPage Key = `service.maxitemsperpage` ServiceDemoMode Key = `service.demomode` // Deprecated: Use metrics.enabled @@ -293,7 +292,6 @@ func InitDefaultConfig() { ServiceEnableCaldav.setDefault(true) ServiceRootpath.setDefault(getBinaryDirLocation()) - ServiceStaticpath.setDefault("") ServiceMaxItemsPerPage.setDefault(50) ServiceEnableMetrics.setDefault(false) ServiceMotd.setDefault("")