mirror of
https://github.com/m1k1o/neko.git
synced 2025-05-24 14:37:05 +02:00
manual refresh function
This commit is contained in:
parent
70e84c5840
commit
cfc7b15211
9 changed files with 74 additions and 4 deletions
|
@ -26,7 +26,7 @@ const CONTROL_PROTECTION_SESSION = "by_control_protection"
|
|||
func New(sessions types.SessionManager, desktop types.DesktopManager, capture types.CaptureManager, webrtc types.WebRTCManager, conf *config.WebSocket) *WebSocketHandler {
|
||||
logger := log.With().Str("module", "websocket").Logger()
|
||||
|
||||
state := state.New()
|
||||
state := state.New(conf.FileTransfer, conf.UnprivFileTransfer, conf.FileTransferPath)
|
||||
|
||||
// if control protection is enabled
|
||||
if conf.ControlProtection {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue