mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 22:56:37 -04:00
api: rename initStaticRouter
This commit is contained in:
@ -14,7 +14,7 @@ func routesServe() error {
|
|||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := initStaticRouter(router); err != nil {
|
if err := staticRouterInit(router); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -25,7 +25,7 @@ type staticHtmlPlugs struct {
|
|||||||
Footer template.HTML
|
Footer template.HTML
|
||||||
}
|
}
|
||||||
|
|
||||||
func initStaticRouter(router *mux.Router) error {
|
func staticRouterInit(router *mux.Router) error {
|
||||||
asset := make(map[string][]byte)
|
asset := make(map[string][]byte)
|
||||||
gzippedAsset := make(map[string][]byte)
|
gzippedAsset := make(map[string][]byte)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user