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 "# @@ -182,7 +179,7 @@ fn captcha_result_page(captcha_result: String) -> String {

Salvo Captcha Example

-

Sign In

+

Result page

{captcha_result}
Go Back diff --git a/src/captcha_gen.rs b/src/captcha_gen.rs index e19a361..dbb48da 100644 --- a/src/captcha_gen.rs +++ b/src/captcha_gen.rs @@ -17,7 +17,7 @@ pub trait CaptchaGenerator: CaptchaStorage { /// /// The returned captcha image is 220x110 pixels. /// - /// For more information about the captcha name and difficulty, see the [`README.md`](https://github.com/TheAwiteb/salvo-captcha/#captcha-name-and-difficulty). + /// For more information about the captcha name and difficulty, see the [`README.md`](https://git.4rs.nl/awiteb/salvo-captcha/#captcha-name-and-difficulty). fn new_captcha( &self, name: CaptchaName,