Add api key, gpg key, and move flatpakrepo

This commit is contained in:
2026-08-01 21:56:05 +02:00
parent 73bbb87f78
commit a4c19b5f1f
4 changed files with 44 additions and 2 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ pub async fn flatpak_headers_middleware(req: Request<Body>, next: Next) -> Respo
}
pub async fn serve_flatpakrepo(repo_path: PathBuf) -> impl IntoResponse {
let path = repo_path.join("example.flatpakrepo");
let path = repo_path.join("flatpakrepo");
match tokio::fs::read_to_string(&path).await {
Ok(contents) => (
[(header::CONTENT_TYPE, "application/octet-stream")],