My personal site cherry.computer
htmx tailwind axum askama

feat: call Last.fm using TLS

Need to install root certificates to authenticate their cert now.

+4 -2
+3 -1
Dockerfile
··· 18 18 # run on different image 19 19 FROM debian:buster-slim 20 20 21 - RUN apt-get update && apt-get install -y openssl && rm -rf /var/lib/apt/lists/* 21 + RUN apt-get update \ 22 + && apt-get install -y openssl ca-certificates \ 23 + && rm -rf /var/lib/apt/lists/* 22 24 23 25 WORKDIR /root 24 26
+1 -1
server/src/scrobble_monitor.rs
··· 61 61 async fn fetch_scrobble(&self) -> anyhow::Result<String> { 62 62 let response = self 63 63 .client 64 - .get("http://ws.audioscrobbler.com/2.0") 64 + .get("https://ws.audioscrobbler.com/2.0") 65 65 .query(&[ 66 66 ("method", "user.getRecentTracks"), 67 67 ("api_key", &self.api_key),