mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
Update realm info
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import type { NextApiRequest, NextApiResponse } from 'next'
|
||||
|
||||
export default function handler(_: NextApiRequest, res: NextApiResponse) {
|
||||
res.setHeader('WWW-authenticate', 'Basic realm="Secure Area"')
|
||||
res.setHeader('WWW-authenticate', 'Basic realm="Private Area"')
|
||||
res.statusCode = 401
|
||||
res.end(`Auth Required.`)
|
||||
}
|
||||
Reference in New Issue
Block a user