обновил журналирование для разработчиков
This commit is contained in:
@@ -190,7 +190,7 @@
|
||||
fetch(`/dev/logs.csv`, {method: 'GET', credentials: 'same-origin' })
|
||||
.then(async (resp) => {
|
||||
let logfileContent = await resp.text()
|
||||
const lines = logfileContent.split(/\r\n|\n/)
|
||||
const lines = logfileContent.trim().split(/\r\n|\n/)
|
||||
|
||||
// Первая строка содержит заголовки
|
||||
this.logsTable.headers = lines.shift().split('\t')
|
||||
|
Reference in New Issue
Block a user