Compare commits
1 commit
93ef27ef25
...
462cd5483a
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
462cd5483a |
1 changed files with 1 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ export async function sendContactMessage(name: string, email: string, message: s
|
|||
form.append('content', content);
|
||||
|
||||
if (!env.DISCORD_CONTACT_WEBHOOK) {
|
||||
throw new Error('Undefined discord webhook');
|
||||
return;
|
||||
}
|
||||
const url = new URL(env.DISCORD_CONTACT_WEBHOOK);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue