summaryrefslogtreecommitdiff
path: root/internal/web/web.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/web/web.go')
-rw-r--r--internal/web/web.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/web/web.go b/internal/web/web.go
index 6d785667b..86e74d6f8 100644
--- a/internal/web/web.go
+++ b/internal/web/web.go
@@ -74,7 +74,7 @@ func New(db db.DB, processor *processing.Processor) *Module {
}
}
-func (m *Module) Route(r router.Router, mi ...gin.HandlerFunc) {
+func (m *Module) Route(r *router.Router, mi ...gin.HandlerFunc) {
// Group all static files from assets dir at /assets,
// so that they can use the same cache control middleware.
webAssetsAbsFilePath, err := filepath.Abs(config.GetWebAssetBaseDir())