We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7564f6 commit e31486dCopy full SHA for e31486d
httpd.go
@@ -11,10 +11,11 @@ import (
11
12
"encoding/base64"
13
14
+ "path/filepath"
15
+
16
"github.com/go-martini/martini"
17
"github.com/martini-contrib/oauth2"
18
"github.com/martini-contrib/sessions"
- "path/filepath"
19
)
20
21
type Server struct {
@@ -102,7 +103,7 @@ func (s *Server) Run() error {
102
103
104
log.Printf("starting static file server for: %s", path)
105
fileServer := http.FileServer(http.Dir(path))
- m.Get("/**", fileServer.ServeHTTP)
106
+ m.Any("/**", fileServer.ServeHTTP)
107
108
log.Printf("starting server at %s", s.Conf.Addr)
109
0 commit comments