Update get content log
This commit is contained in:
parent
1d5a7781ae
commit
2adab647cc
|
|
@ -336,7 +336,7 @@ export class WebSocketIo {
|
|||
socket.on('get_content_log', async (data) => {
|
||||
try {
|
||||
const { line, socketId } = data
|
||||
const filePath = line.systemLogUrl
|
||||
const filePath = `storage/system_logs/${line.systemLogUrl}`
|
||||
if (fs.existsSync(filePath)) {
|
||||
// Get file stats
|
||||
const stats = fs.statSync(filePath)
|
||||
|
|
|
|||
Loading…
Reference in New Issue