Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Projets publics
Ravada-Mirror
Commits
a6ad969d
Unverified
Commit
a6ad969d
authored
Nov 21, 2019
by
Francesc Guasch
Committed by
GitHub
Nov 21, 2019
Browse files
Merge branch 'develop' into 1197_ports
parents
8a0f3c7c
77c337ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
rvd_front.pl
View file @
a6ad969d
...
@@ -1210,7 +1210,7 @@ get '/iso/download/(#id).json' => sub {
...
@@ -1210,7 +1210,7 @@ get '/iso/download/(#id).json' => sub {
return
$c
->
render
(
json
=>
{
request
=>
$req
->
id
});
return
$c
->
render
(
json
=>
{
request
=>
$req
->
id
});
};
};
websocket
'
/ws
_
subscribe
'
=>
sub
{
websocket
'
/ws
/
subscribe
'
=>
sub
{
my
$c
=
shift
;
my
$c
=
shift
;
my
$expiration
=
$SESSION_TIMEOUT
;
my
$expiration
=
$SESSION_TIMEOUT
;
$expiration
=
$SESSION_TIMEOUT_ADMIN
if
$USER
->
is_admin
;
$expiration
=
$SESSION_TIMEOUT_ADMIN
if
$USER
->
is_admin
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment