π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
pub const PRODUCTION_API_ORIGIN: &str = "https://api.ente.com";
// `origin` must be an origin. Preserving path prefixes is a best-effort
// convenience for self-hosters.
pub(crate) fn api_url(origin: &str, path: &str) -> String {
format!(
"{}/{}",
origin.trim_end_matches('/'),
path.trim_start_matches('/')
)
}