Add api key, gpg key, and move flatpakrepo
This commit is contained in:
+1
-1
@@ -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")],
|
||||
|
||||
Reference in New Issue
Block a user