diff options
| author | ops <ops@localhost> | 2026-09-20 01:16:01 +0000 |
|---|---|---|
| committer | ops <ops@localhost> | 2026-09-20 01:16:01 +0000 |
| commit | 3a8956f9cb85184ae2b8202d7a733124a0d3f95f (patch) | |
| tree | 8c65156f6d2e711857b8abddf13fa4548b6838d9 /contact-service/src | |
| parent | 8a327a41cdce40933b977f7c6662929488bcf83e (diff) | |
Add stricter compilation rules, dependency license reporting, and cargo deny configuration
Diffstat (limited to 'contact-service/src')
| -rw-r--r-- | contact-service/src/main.rs | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/contact-service/src/main.rs b/contact-service/src/main.rs index 403cb37..1abfe04 100644 --- a/contact-service/src/main.rs +++ b/contact-service/src/main.rs @@ -1,3 +1,5 @@ +//! Website Contact Form + // Copyright (C) 2026 Doan Luu Duc Tai <doan@luuduct.ai> // // This program is free software: you can redistribute it and/or modify @@ -115,7 +117,7 @@ async fn handle_message( let output_path = config.inbox_dir.join(filename); let payload = format!( - "=== RFC 9980 PQC MESSAGE ===\nSender: {}\nTimestamp: {}\n============================\n\n{}", + "=== BEGIN MESSAGE ===\nSender: {}\nTimestamp: {}\n============================\n\n{}", sender_display, now.to_rfc3339(), message @@ -171,7 +173,7 @@ const SUCCESS_PAGE: &str = r#"<!doctype html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> - <title>Message Sent - Doan Luu Duc Tai</title> + <title>Message Sent</title> <link rel="stylesheet" href="/styles.css"> </head> <body> |
