File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
apps/web/app/api/desktop/[...route] Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,8 +29,7 @@ app.post(
2929 const user = c . get ( "user" ) ;
3030
3131 try {
32- const discordWebhookUrl =
33- "https://discord.com/api/webhooks/1428630396051914873/jfyxAtjTgZ3otj81x1BWdo18m6OMjoM3coeDUJutTDhp4VikrrAcdLClfl2kjvhLbOn2" ; // serverEnv().DISCORD_FEEDBACK_WEBHOOK_URL;
32+ const discordWebhookUrl = serverEnv ( ) . DISCORD_LOGS_WEBHOOK_URL ;
3433 if ( ! discordWebhookUrl )
3534 throw new Error ( "Discord webhook URL is not configured" ) ;
3635
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ function createServerEnv() {
4040 STRIPE_SECRET_KEY : z . string ( ) . optional ( ) ,
4141 STRIPE_WEBHOOK_SECRET : z . string ( ) . optional ( ) ,
4242 DISCORD_FEEDBACK_WEBHOOK_URL : z . string ( ) . optional ( ) ,
43+ DISCORD_LOGS_WEBHOOK_URL : z . string ( ) . optional ( ) ,
4344 OPENAI_API_KEY : z . string ( ) . optional ( ) ,
4445 GROQ_API_KEY : z . string ( ) . optional ( ) ,
4546 INTERCOM_SECRET : z . string ( ) . optional ( ) ,
You can’t perform that action at this time.
0 commit comments