mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-30 11:06:37 -04:00
router_static.go: redirect / to login
This commit is contained in:
@ -88,5 +88,7 @@ func initStaticRouter(router *mux.Router) error {
|
|||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
|
router.HandleFunc("/", redirectLogin)
|
||||||
|
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user