add community connected endpoint #24
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
dd-ix/website-content-api!24
Loading…
Reference in a new issue
No description provided.
Delete branch "ping-endpoint"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@ -44,6 +44,13 @@ pub(crate) struct Args {)]@ -0,0 +1,134 @@use crate::cache::{Cache, Updater};looking_glass_url is only a address and not an url
Debug logging?
@ -0,0 +14,4 @@}pub(crate) async fn get_connected_to_community(ConnectInfo(addr): ConnectInfo<SocketAddr>,Hast du mal getestet, ob axum das von den X-Forwarded Headern hier direkt schon einträgt?
@ -0,0 +14,4 @@}pub(crate) async fn get_connected_to_community(ConnectInfo(addr): ConnectInfo<SocketAddr>,hab ich nicht, aber ist glaube einfacher das erstmal zu deployen und zu schauen, welche IP-Adresse wirklich ankommt.
@ -47,0 +47,4 @@#[clap(long,env = "WEBSITE_CONTENT_API_LOOKING_GLASS_URL",default_value = "https://lg.dd-ix.net/"This is not an address. Either fix the name or the value.
@ -0,0 +14,4 @@}pub(crate) async fn get_connected_to_community(ConnectInfo(addr): ConnectInfo<SocketAddr>,Wegen mir, kannst aber auch mit einem curl gens lokal deployte testen
@ -47,0 +47,4 @@#[clap(long,env = "WEBSITE_CONTENT_API_LOOKING_GLASS_URL",default_value = "https://lg.dd-ix.net/"@MarcelCoding naming suggestions?
@ -47,0 +47,4 @@#[clap(long,env = "WEBSITE_CONTENT_API_LOOKING_GLASS_URL",default_value = "https://lg.dd-ix.net/"alice_looking_glass_address or alice_looking_glass_url