mirror of
https://github.com/cupcakearmy/cryptgeon.git
synced 2026-07-05 06:55:30 +00:00
msgpack
This commit is contained in:
@@ -23,6 +23,7 @@ mod csp;
|
||||
mod health;
|
||||
mod lock;
|
||||
mod note;
|
||||
mod note_v2;
|
||||
mod status;
|
||||
mod store;
|
||||
|
||||
@@ -42,7 +43,8 @@ async fn main() {
|
||||
let notes_routes = Router::new()
|
||||
.route("/", post(note::create))
|
||||
.route("/{id}", delete(note::delete))
|
||||
.route("/{id}", get(note::preview));
|
||||
.route("/{id}", get(note::preview))
|
||||
.route("/v2/", post(note_v2::create));
|
||||
let health_routes = Router::new().route("/live", get(health::report_health));
|
||||
let status_routes = Router::new().route("/status", get(status::get_status));
|
||||
let api_routes = Router::new()
|
||||
|
||||
Reference in New Issue
Block a user