Update realm info

This commit is contained in:
Lennard Schwarz
2023-12-01 18:31:04 +01:00
parent 1efcadbf46
commit b7ca69aa0e
+1 -1
View File
@@ -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.`)
}