mirror of
https://github.com/lush2020/edgetunnel.git
synced 2026-03-22 01:22:21 +08:00
enhance error page
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user