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
aafd3706
Commit
aafd3706
authored
Nov 18, 2019
by
Francesc Guasch
Browse files
fix(frontend): separate URL for websockets
makes it easier to deal with frontend proxy
parent
756796eb
Changes
1
Hide whitespace changes
Inline
Side-by-side
rvd_front.pl
View file @
aafd3706
...
...
@@ -1210,7 +1210,7 @@ get '/iso/download/(#id).json' => sub {
return
$c
->
render
(
json
=>
{
request
=>
$req
->
id
});
};
websocket
'
/ws
_
subscribe
'
=>
sub
{
websocket
'
/ws
/
subscribe
'
=>
sub
{
my
$c
=
shift
;
my
$expiration
=
$SESSION_TIMEOUT
;
$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