forked from acouzens/open5gs
5a220f1a83
After the page remains inactive for 10 minutes, clicking on the edit page will result in a blank screen when you click on edit after 10 minutes, all user data is lost. After capturing the network packets, it can be observed that the frontend sends a fresh request to the backend for data, and the backend responds correctly, but the page does not refresh correctly. `function recent(fetchedAt) { if (fetchedAt === null) return false; const interval = 10 * 60 * 1000; // 10 minutes return ((Date.now() - interval) < fetchedAt); }` |
||
---|---|---|
.. | ||
pages | ||
server | ||
src | ||
static | ||
.babelrc | ||
.gitignore | ||
package-lock.json | ||
package.json |