mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +00:00
rpc/v1 for polling
This commit is contained in:
@@ -286,7 +286,7 @@ export default class SuccessPage implements AfterViewInit {
|
||||
|
||||
while (attempts < maxAttempts) {
|
||||
try {
|
||||
await this.api.echo({ message: 'ping' }, this.lanAddress)
|
||||
await this.api.echo({ message: 'ping' }, `${this.lanAddress}/rpc/v1`)
|
||||
return
|
||||
} catch {
|
||||
await new Promise(resolve => setTimeout(resolve, 5000))
|
||||
|
||||
Reference in New Issue
Block a user