Update get content log

This commit is contained in:
andrew.ng 2026-06-11 09:13:48 +07:00
parent 1d5a7781ae
commit 2adab647cc
1 changed files with 1 additions and 1 deletions

View File

@ -336,7 +336,7 @@ export class WebSocketIo {
socket.on('get_content_log', async (data) => { socket.on('get_content_log', async (data) => {
try { try {
const { line, socketId } = data const { line, socketId } = data
const filePath = line.systemLogUrl const filePath = `storage/system_logs/${line.systemLogUrl}`
if (fs.existsSync(filePath)) { if (fs.existsSync(filePath)) {
// Get file stats // Get file stats
const stats = fs.statSync(filePath) const stats = fs.statSync(filePath)