fix: keep RDP creds out of tunnel URL/logs via single-use encrypted stash
This commit is contained in:
1 parent
138f708a87
commit
332c7760ca
4 files changed
+72
-5
No files matched your search
+3
-1
@@ -56,7 +56,9 @@ func main() {
|
||||
}()
|
||||
|
||||
// Start REST server
|
||||
r := gin.Default()
|
||||
r := gin.New()
|
||||
r.Use(gin.Recovery())
|
||||
r.Use(gin.LoggerWithConfig(gin.LoggerConfig{SkipPaths: []string{"/api/console/tunnel"}}))
|
||||
r.Use(corsMiddleware())
|
||||
api.RegisterRoutes(r)
|
||||
|
||||
|
||||
Reference in new issue
Block a user