mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-11 02:15:48 +02:00
chore: update deps #946
This commit is contained in:
parent
98a4708a8c
commit
241fa4adfe
10 changed files with 107 additions and 90 deletions
|
@ -10,5 +10,8 @@ import (
|
|||
func initEmbedRoute(r *gin.Engine) {
|
||||
r.Use(middleware.CacheJs())
|
||||
|
||||
r.Use(middleware.ServeStatic()...)
|
||||
r.Group("/*")
|
||||
{
|
||||
r.Use(middleware.IPWhiteList(), middleware.ServeStatic())
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue