mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 22:56:37 -04:00
api: rename serveRoutes
This commit is contained in:
@ -11,5 +11,5 @@ func main() {
|
|||||||
exitIfError(markdownRendererCreate())
|
exitIfError(markdownRendererCreate())
|
||||||
exitIfError(sigintCleanupSetup())
|
exitIfError(sigintCleanupSetup())
|
||||||
|
|
||||||
exitIfError(serveRoutes())
|
exitIfError(routesServe())
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@ import (
|
|||||||
"os"
|
"os"
|
||||||
)
|
)
|
||||||
|
|
||||||
func serveRoutes() error {
|
func routesServe() error {
|
||||||
router := mux.NewRouter()
|
router := mux.NewRouter()
|
||||||
|
|
||||||
if err := initAPIRouter(router); err != nil {
|
if err := initAPIRouter(router); err != nil {
|
||||||
|
Reference in New Issue
Block a user