cyrtophora

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit 28861b3e04445e54bbbf3415a8ab7db0a59e93ed
parent f8536ee0becc7d590f82fa436de8089a5f4aa3cb
Author: Jackson G. Kaindume <seestem@merely.tech>
Date:   Mon, 29 Aug 2022 12:17:12 +0200

[phora] update API

Diffstat:
Mphora/src/api.rs | 6++++--
1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/phora/src/api.rs b/phora/src/api.rs @@ -1,13 +1,15 @@ use url::Url; pub struct API { - pub register: Url, + pub version: String, + pub accounts: Url, } impl Default for API { fn default() -> Self { API { - register: Url::parse("/register").unwrap(), + version: "v0".to_string(), + accounts: Url::parse("v0/accounts").unwrap(), } } }