mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
improve docs
This commit is contained in:
@@ -28,7 +28,7 @@ const (
|
||||
webUsersPath = "/web/users"
|
||||
webUserPath = "/web/user"
|
||||
webConnectionsPath = "/web/connections"
|
||||
staticFileWebPath = "/static"
|
||||
webStaticFilesPath = "/static"
|
||||
)
|
||||
|
||||
var (
|
||||
|
||||
@@ -108,7 +108,7 @@ func initializeRouter(staticFilesPath string) {
|
||||
|
||||
router.Group(func(router chi.Router) {
|
||||
router.Use(middleware.DefaultCompress)
|
||||
fileServer(router, staticFileWebPath, http.Dir(staticFilesPath))
|
||||
fileServer(router, webStaticFilesPath, http.Dir(staticFilesPath))
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user