chore: remove static path config option
This commit is contained in:
parent
9c45d9ca15
commit
8b3cf2ed7e
@ -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
|
# 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.
|
# with a config file which will then be used.
|
||||||
rootpath: <rootpath>
|
rootpath: <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
|
# The max number of items which can be returned per page
|
||||||
maxitemsperpage: 50
|
maxitemsperpage: 50
|
||||||
# Enable the caldav endpoint, see the docs for more details
|
# Enable the caldav endpoint, see the docs for more details
|
||||||
|
@ -47,7 +47,6 @@ const (
|
|||||||
ServiceFrontendurl Key = `service.frontendurl`
|
ServiceFrontendurl Key = `service.frontendurl`
|
||||||
ServiceEnableCaldav Key = `service.enablecaldav`
|
ServiceEnableCaldav Key = `service.enablecaldav`
|
||||||
ServiceRootpath Key = `service.rootpath`
|
ServiceRootpath Key = `service.rootpath`
|
||||||
ServiceStaticpath Key = `service.staticpath`
|
|
||||||
ServiceMaxItemsPerPage Key = `service.maxitemsperpage`
|
ServiceMaxItemsPerPage Key = `service.maxitemsperpage`
|
||||||
ServiceDemoMode Key = `service.demomode`
|
ServiceDemoMode Key = `service.demomode`
|
||||||
// Deprecated: Use metrics.enabled
|
// Deprecated: Use metrics.enabled
|
||||||
@ -293,7 +292,6 @@ func InitDefaultConfig() {
|
|||||||
ServiceEnableCaldav.setDefault(true)
|
ServiceEnableCaldav.setDefault(true)
|
||||||
|
|
||||||
ServiceRootpath.setDefault(getBinaryDirLocation())
|
ServiceRootpath.setDefault(getBinaryDirLocation())
|
||||||
ServiceStaticpath.setDefault("")
|
|
||||||
ServiceMaxItemsPerPage.setDefault(50)
|
ServiceMaxItemsPerPage.setDefault(50)
|
||||||
ServiceEnableMetrics.setDefault(false)
|
ServiceEnableMetrics.setDefault(false)
|
||||||
ServiceMotd.setDefault("")
|
ServiceMotd.setDefault("")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user