Skip to content

Commit

Permalink
test the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
m4salah committed Dec 8, 2023
1 parent 0a1879a commit d9a587b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/handlers/day7.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@ use serde::{Deserialize, Serialize};
use serde_json::{Map, Number, Value};

pub fn router() -> axum::Router {
axum::Router::new()
.route("/7/decode", get(santa_cookie))
.route("/7/bake", get(secret_cookie))
axum::Router::new().route("/7/decode", get(santa_cookie))
}

async fn santa_cookie(headers: HeaderMap) -> impl IntoResponse {
Expand Down

0 comments on commit d9a587b

Please sign in to comment.