N
N
Nubbin2017-10-18 08:39:43
Angular
Nubbin, 2017-10-18 08:39:43

Technical break on the site?

Good morning, guys, how to do this thing on the site: You turn on a technical break for 10 minutes and so that users on the site select a countdown and so that when the page is refreshed, the time is not updated and continues.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Gornostaev, 2017-10-18
@sergey-gornostaev

Catch the 503rd HTTP error, try to make a request to a special endpoint that gives the remaining time, if successful, display a countdown from the time received from the server.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question