We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc6dbb5 commit 0743787Copy full SHA for 0743787
src/commands/sendkey.ts
@@ -1,5 +1,5 @@
1
const md5 = require('md5');
2
-const VERCEL_URL = process.env.VERCEL_URL || '';
+const VERCEL_URL = process.env.DOMAIN_URL || process.env.VERCEL_URL || '';
3
const TCKEY = process.env.TCKEY;
4
5
const replyToMessage = (ctx: any, messageId: string, string: string) =>
@@ -20,8 +20,7 @@ const sendkey = () => (ctx: any) => {
20
ctx,
21
messageId,
22
`${userName} , Your sendkey is 🔑 ${sendkey} \n
23
- 🚀 Use follow url to send message : \n
24
- ${site_url}/api/send?sendkey=<sendkey>&text=<text>`,
+ 🚀 Use follow url to send message : \n ${site_url}/api/send?sendkey=<sendkey>&text=<text>`,
25
);
26
};
27
0 commit comments