Cleanup fileserver not needed, updated gitignore.
This commit is contained in:
@@ -23,3 +23,6 @@ go.work
|
|||||||
|
|
||||||
# direnv files
|
# direnv files
|
||||||
.envrc
|
.envrc
|
||||||
|
|
||||||
|
# random files
|
||||||
|
todo.txt
|
||||||
|
|||||||
@@ -16,10 +16,6 @@ func (s *Server) setupRoutes() *chi.Mux {
|
|||||||
router.Use(s.logRequest)
|
router.Use(s.logRequest)
|
||||||
router.Use(middleware.Recoverer)
|
router.Use(middleware.Recoverer)
|
||||||
|
|
||||||
// TODO: CLEANUP: Not sure this is needed right now
|
|
||||||
// Setup basic file server nothing fancy
|
|
||||||
router.Handle("/static/*", http.StripPrefix("/static", http.FileServer(http.Dir("static"))))
|
|
||||||
|
|
||||||
// Public routes
|
// Public routes
|
||||||
router.Group(func(r chi.Router) {
|
router.Group(func(r chi.Router) {
|
||||||
// Auth Routes
|
// Auth Routes
|
||||||
|
|||||||
Reference in New Issue
Block a user