Don't make assets configurable
This commit is contained in:
parent
da11dbd1c8
commit
868d2a7bbd
4 changed files with 16 additions and 18 deletions
|
|
@ -24,7 +24,7 @@ func main() {
|
|||
router.Handle("/", http.RedirectHandler("/notes/", http.StatusFound))
|
||||
router.Handle("/notes/", http.StripPrefix("/notes", notesRouter))
|
||||
router.Handle(
|
||||
conf.Conf.Static.Root,
|
||||
"/static/",
|
||||
logger(
|
||||
http.StripPrefix(
|
||||
"/static",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue