summaryrefslogtreecommitdiff
path: root/internal/router/router.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/router/router.go')
-rw-r--r--internal/router/router.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/internal/router/router.go b/internal/router/router.go
index 4b00f0eb0..57e0d36b2 100644
--- a/internal/router/router.go
+++ b/internal/router/router.go
@@ -47,7 +47,7 @@ type Router interface {
AttachMiddleware(handler gin.HandlerFunc)
// Attach 404 NoRoute handler
AttachNoRouteHandler(handler gin.HandlerFunc)
- // Add Gin StaticFile handler
+ // Add Gin StaticFS handler
AttachStaticFS(relativePath string, fs http.FileSystem)
// Start the router
Start()
@@ -62,7 +62,7 @@ type router struct {
certManager *autocert.Manager
}
-// Add Gin StaticFile handler
+// Add Gin StaticFS handler
func (r *router) AttachStaticFS(relativePath string, fs http.FileSystem) {
r.engine.StaticFS(relativePath, fs)
}