фича: автообновление сессии
This commit is contained in:
@@ -191,7 +191,7 @@
|
||||
}
|
||||
} else {
|
||||
try {
|
||||
let d = await fetch("/api/get/statistics")
|
||||
let d = await fetch("/api/get/statistics", { credentials: 'same-origin' })
|
||||
this.updateStatistics(await d.json())
|
||||
} catch (e) {
|
||||
this.initState = "Ошибка обновления статистики"
|
||||
|
Reference in New Issue
Block a user