summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.rs1
-rw-r--r--src/wellknown.rs5
2 files changed, 6 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs
index c3ec938..b380491 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -50,6 +50,7 @@ async fn main() {
r_wellknown_security,
r_wellknown_matrix_server,
r_wellknown_matrix_client,
+ r_wellknown_flathub_verified,
],
)
.register("/", catchers![r_catch])
diff --git a/src/wellknown.rs b/src/wellknown.rs
index c61f52f..ee800c2 100644
--- a/src/wellknown.rs
+++ b/src/wellknown.rs
@@ -33,3 +33,8 @@ pub fn r_wellknown_matrix_server() -> Cors<Value> {
pub fn r_wellknown_security() -> &'static str {
include_str!("../assets/security.txt.asc")
}
+
+#[get("/.well-known/org.flathub.VerifiedApps.txt")]
+pub fn r_wellknown_flathub_verified() -> &'static str {
+ "a29f43db-bd4e-40cb-b121-2899c4d70634\n"
+}