enhance cf-page-vless

This commit is contained in:
zizifn
2023-05-18 20:46:19 +08:00
committed by zizifn
parent 0b632c025f
commit 3d984bdd22
4 changed files with 17 additions and 8 deletions

View File

@@ -48,7 +48,7 @@ function authentication(context: EventContext<any, any, any>) {
status: 302,
headers: {
'content-type': 'text/html; charset=utf-8',
Location: `./${userID}`,
Location: `./${userID}?wspath=${encodeURIComponent('/vless')}`,
},
});
} else {