mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 18:35:51 +02:00
feat: maintenance mode #739
This commit is contained in:
parent
191ddea309
commit
5d3f478086
33 changed files with 3698 additions and 2222 deletions
|
@ -9,9 +9,7 @@ import (
|
|||
)
|
||||
|
||||
func initEmbedRoute(r *gin.Engine) {
|
||||
r.Use(
|
||||
middleware.CacheJs(),
|
||||
middleware.IPWhiteList(),
|
||||
static.Serve("/", middleware.MustFs("")),
|
||||
)
|
||||
r.Use(middleware.CacheJs())
|
||||
|
||||
r.GET("/", middleware.IPWhiteList(), static.Serve("/", middleware.MustFs("")))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue