Update server.ts

This commit is contained in:
Baobhan Sith
2025-04-29 07:11:21 +08:00
parent a77f0555c2
commit 42cb5220ac
+1 -1
View File
@@ -152,7 +152,7 @@ app.get('/api/get-token', (req: any, res: any) => {
port: port as string,
username: username as string,
password: password as string,
security: 'nla',
security: 'tls', // 尝试 TLS 安全模式
'ignore-cert': ignoreCert as string,
// Include the dynamic (or default) size parameters from query
width: String(req.query.width || '1024'),