From 42d598e0e457bd6aa72ec266ab318d2fd8671e73 Mon Sep 17 00:00:00 2001
From: Awiteb
Date: Sat, 10 Aug 2024 11:55:26 +0000
Subject: [PATCH] chore: Update `github.com` urls to `git.4rs.nl`
Signed-off-by: Awiteb
---
Cargo.toml | 2 +-
examples/simple_login.rs | 7 ++-----
src/captcha_gen.rs | 2 +-
3 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/Cargo.toml b/Cargo.toml
index 88d6e02..f5b9b51 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -6,7 +6,7 @@ edition = "2021"
authors = ["Awiteb "]
description = "A captcha middleware for Salvo framework."
license = "MIT"
-repository = "https://github.com/TheAwiteb/salvo-captcha"
+repository = "https://git.4rs.nl/awiteb/salvo-captcha"
documentation = "https://docs.rs/salvo-captcha"
readme = "README.md"
keywords = ["salvo", "captcha", "middleware"]
diff --git a/examples/simple_login.rs b/examples/simple_login.rs
index 9a0fe39..dff9ee0 100644
--- a/examples/simple_login.rs
+++ b/examples/simple_login.rs
@@ -152,16 +152,13 @@ fn index_page(captcha_image: String, captcha_token: String) -> String {
Or you can skip the captcha
- Source Code
+ Source Code