god ts
This commit is contained in:
parent
b656f770bc
commit
0d6dcff718
1 changed files with 0 additions and 1 deletions
|
|
@ -4,7 +4,6 @@ import path from 'node:path'
|
||||||
import config from '@/config/config.json'
|
import config from '@/config/config.json'
|
||||||
|
|
||||||
export const runtime = 'nodejs'
|
export const runtime = 'nodejs'
|
||||||
export const config_edge = { maxDuration: 30 }
|
|
||||||
|
|
||||||
export async function POST(req: NextRequest) {
|
export async function POST(req: NextRequest) {
|
||||||
const password = req.headers.get('x-admin-password') || ''
|
const password = req.headers.get('x-admin-password') || ''
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue