M12 — the Android client, end to end #2
@@ -159,7 +159,10 @@ pub fn client_headers() -> [(&'static str, String); 2] {
|
|||||||
let agent = format!("thoughtsync-desktop/{}", env!("CARGO_PKG_VERSION"));
|
let agent = format!("thoughtsync-desktop/{}", env!("CARGO_PKG_VERSION"));
|
||||||
[
|
[
|
||||||
("X-ThoughtSync-Client", agent),
|
("X-ThoughtSync-Client", agent),
|
||||||
("X-ThoughtSync-Protocol", CLIENT_PROTOCOL_VERSION.to_string()),
|
(
|
||||||
|
"X-ThoughtSync-Protocol",
|
||||||
|
CLIENT_PROTOCOL_VERSION.to_string(),
|
||||||
|
),
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user