mirror of
https://git.ethanthesleepy.one/ethanaobrien/ew
synced 2025-10-09 00:47:19 +08:00
Implement needed handlers to get to the initial download
`/api/start` `/api/dummy/login` `/apt/user` `/api/purchase`
This commit is contained in:
@@ -17,6 +17,7 @@ pub fn timestamp() -> u64 {
|
||||
}
|
||||
|
||||
pub fn send(data: JsonValue) -> HttpResponse {
|
||||
//println!("{}", json::stringify(data.clone()));
|
||||
let encrypted = encryption::encrypt_packet(&json::stringify(data)).unwrap();
|
||||
let resp = encrypted.into_bytes();
|
||||
|
||||
|
Reference in New Issue
Block a user