mirror of
https://github.com/lejianwen/rustdesk-api.git
synced 2026-02-17 14:04:51 +08:00
3
.gitattributes
vendored
3
.gitattributes
vendored
@@ -1,2 +1 @@
|
|||||||
resources/web/**/* linguist-vendored
|
resources/web/**/* linguist-vendored
|
||||||
resources/web2/**/* linguist-vendored
|
|
||||||
1
.gitignore
vendored
1
.gitignore
vendored
@@ -5,7 +5,6 @@ go.sum
|
|||||||
resources/*
|
resources/*
|
||||||
!resources/public/upload/.gitignore
|
!resources/public/upload/.gitignore
|
||||||
!resources/web
|
!resources/web
|
||||||
!resources/web2
|
|
||||||
!resources/i18n
|
!resources/i18n
|
||||||
release
|
release
|
||||||
data
|
data
|
||||||
@@ -17,7 +17,6 @@ func WebInit(g *gin.Engine) {
|
|||||||
|
|
||||||
if global.Config.App.WebClient == 1 {
|
if global.Config.App.WebClient == 1 {
|
||||||
g.StaticFS("/webclient", http.Dir(global.Config.Gin.ResourcesPath+"/web"))
|
g.StaticFS("/webclient", http.Dir(global.Config.Gin.ResourcesPath+"/web"))
|
||||||
g.StaticFS("/webclient2", http.Dir(global.Config.Gin.ResourcesPath+"/web2"))
|
|
||||||
}
|
}
|
||||||
g.StaticFS("/_admin", http.Dir(global.Config.Gin.ResourcesPath+"/admin"))
|
g.StaticFS("/_admin", http.Dir(global.Config.Gin.ResourcesPath+"/admin"))
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user