Skip to content

Commit

Permalink
modified: src/http.c
Browse files Browse the repository at this point in the history
  • Loading branch information
jvo203 committed Jul 12, 2022
1 parent c6f88a2 commit 739eae8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Julia/fitswebqlse.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1584,9 +1584,11 @@ function serveFITS(request::HTTP.Request)
"var USER_SELFRQ = 0.0;",
"var USER_DELTAV = 0.0;",
"var ROOT_PATH = '/fitswebql/';",
"var idleSearch = -1;",
"var idleResize = -1;",
"var idleWindow = -1;",
"window.onresize = resizeMe;",
"window.onbeforeunload = close_websocket_connections;"
"window.onbeforeunload = close_websocket_connections;",
"mainRenderer(); </script>\n",
)

Expand Down
1 change: 1 addition & 0 deletions src/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -2435,6 +2435,7 @@ static enum MHD_Result execute_alma(struct MHD_Connection *connection, char **va
"var ROOT_PATH = '/fitswebql/';"
"var idleSearch = -1;"
"var idleResize = -1;"
"var idleWindow = -1;"
"window.onresize = resizeMe;"
"window.onbeforeunload = close_websocket_connections;"
"mainRenderer(); </script>\n");
Expand Down

0 comments on commit 739eae8

Please sign in to comment.