Skip to content

Commit

Permalink
set url to anywhere from app
Browse files Browse the repository at this point in the history
  • Loading branch information
orzklv committed Nov 20, 2023
1 parent 1fbb560 commit d5454d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ async fn main() -> Result<(), Box<dyn Error>> {
let resources = Resources::new();

// Webhook
let addr = ([127, 0, 0, 1], 8443).into();
let addr = ([0, 0, 0, 0], 8443).into();
let url = std::env::var("WEBHOOK_URL").unwrap().parse().unwrap();
let listener = webhooks::axum(bot.clone(), webhooks::Options::new(addr, url))
.await
Expand Down

1 comment on commit d5454d2

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on d5454d2 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

Module not found "file:///src/mod.ts".

Please sign in to comment.