summary refs log tree commit diff stats
path: root/svc/sqlite.go
diff options
context:
space:
mode:
authorBen Morrison <ben@gbmor.dev>2020-04-12 14:45:43 -0400
committerBen Morrison <ben@gbmor.dev>2020-04-12 15:46:23 -0400
commit0daa948c9c6b507f1f087d57941ef35c26c97ae0 (patch)
treeef671bf2b358d568472faecb778c9499c50df024 /svc/sqlite.go
parentf2bf68aedafb7b1df3c8d853ed7c9f7d35029de3 (diff)
downloadgetwtxt-0daa948c9c6b507f1f087d57941ef35c26c97ae0.tar.gz
Allowing static files to be served directly from
a directory specified in the config.

Added a handler to svc.go:Start() to serve /static/
Added default value in conf.go for "StaticFilesDirectory" in the
config file.
Read the value of StaticFilesDirectory in config to the config
global in conf.go
Diffstat (limited to 'svc/sqlite.go')
0 files changed, 0 insertions, 0 deletions