This commit is contained in:
parent
1f3d7b9a9c
commit
cdb93cc88b
|
|
@ -1,9 +1,8 @@
|
|||
export const runtime = 'nodejs'
|
||||
import { NextResponse } from 'next/server'
|
||||
import { getRuntimeEnv } from '@/lib/ipconfig'
|
||||
import fs from 'fs'
|
||||
|
||||
export const runtime = 'nodejs'
|
||||
|
||||
// ✅ 重定向 console.log / console.error 到文件
|
||||
const logStream = fs.createWriteStream('/tmp/health-api.log', { flags: 'a' });
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue