enhance error page

This commit is contained in:
zizifn
2022-12-18 01:58:50 +08:00
committed by zizifn
parent 500048bbc6
commit f7e2a0de6d

View File

@@ -11,7 +11,7 @@ if (!isVaildUser) {
const handler = async (req: Request): Promise<Response> => {
if (!isVaildUser) {
return new Response(``, {
return new Response(`not set valid UUID in Environment Variables`, {
status: 401,
headers: {
'content-type': 'text/html; charset=utf-8',