File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -26,9 +26,9 @@ func New(store *datastore.Datastore) *CustomRouter {
26
26
customRouter := & CustomRouter {}
27
27
r := bone .New ()
28
28
r .CaseSensitive = false
29
- r .Handle ("/public/" , http .StripPrefix ("/public/" , http .FileServer (http .Dir ("./public/" ))))
29
+ // r.Handle("/public/", http.StripPrefix("/public/", http.FileServer(http.Dir("./public/"))))
30
30
// r.Handle("/assets/", http.StripPrefix("/assets/", http.FileServer(http.Dir("./assets/"))))
31
- r .Handle ("/attachments/" , http .StripPrefix ("/attachments/" , http .FileServer (http .Dir (store .Settings .AttachmentsFolder ))))
31
+ // r.Handle("/attachments/", http.StripPrefix("/attachments/", http.FileServer(http.Dir(store.Settings.AttachmentsFolder))))
32
32
customRouter .Mux = r
33
33
customRouter .Store = store
34
34
return customRouter
You can’t perform that action at this time.
0 commit comments