Cleanup.
This commit is contained in:
1 parent
458e1ac603
commit
c47d00e694
7 files changed
+13
-13
No files matched your search
+1
-1
@@ -3,7 +3,7 @@ package hub
|
||||
import "net/http"
|
||||
|
||||
func (a *App) registerRoutes() {
|
||||
a.mux.Handle("GET /static/", http.FileServerFS(staticFS))
|
||||
a.mux.Handle("GET /static/", withLogging(http.FileServerFS(staticFS).ServeHTTP))
|
||||
a.handlePub("GET /", a._root)
|
||||
|
||||
a.handleNotSignedIn("GET /sign-in/", a._signin)
|
||||
|
||||
Reference in new issue
Block a user