mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-09 08:15:13 +03:00
WebClient: add a ping URL
Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
This commit is contained in:
@@ -105,8 +105,9 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
|
||||
var cmView;
|
||||
|
||||
function keepAlive() {
|
||||
axios.get('{{.ProfileURL}}',{
|
||||
timeout: 15000
|
||||
axios.get('{{.PingURL}}',{
|
||||
timeout: 15000,
|
||||
responseType: 'text'
|
||||
}).catch(function (error){});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user