Replace arav.top with arav.su.

This commit is contained in:
Alexander Andreev 2023-03-05 00:18:52 +04:00
parent 4f254db2bb
commit 0311a391ed
Signed by: Arav
GPG Key ID: D22A817D95815393
9 changed files with 16 additions and 16 deletions

View File

@ -1,6 +1,6 @@
The MIT License The MIT License
Copyright (c) 2022 Alexander "Arav" Andreev <me@arav.top> Copyright (c) 2022,2023 Alexander "Arav" Andreev <me@arav.su>
Permission is hereby granted, free of charge, to any person obtaining a copy Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal of this software and associated documentation files (the "Software"), to deal

View File

@ -1,10 +1,10 @@
# Maintainer: Alexander "Arav" Andreev <me@arav.top> # Maintainer: Alexander "Arav" Andreev <me@arav.su>
pkgname=justcaptcha pkgname=justcaptcha
pkgver=2.0.1 pkgver=2.0.1
pkgrel=1 pkgrel=1
pkgdesc="Just a CAPTCHA service" pkgdesc="Just a CAPTCHA service"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://git.arav.top/Arav/justcaptcha" url="https://git.arav.su/Arav/justcaptcha"
license=('MIT') license=('MIT')
groups=() groups=()
depends=() depends=()
@ -15,7 +15,7 @@ replaces=()
backup=() backup=()
options=() options=()
install= install=
source=('https://git.arav.top/Arav/justcaptcha/archive/2.0.1.tar.gz') source=('https://git.arav.su/Arav/justcaptcha/archive/2.0.1.tar.gz')
noextract=() noextract=()
md5sums=('SKIP') md5sums=('SKIP')

View File

@ -11,7 +11,7 @@ import (
"syscall" "syscall"
"time" "time"
"git.arav.top/Arav/justcaptcha/internal/http" "git.arav.su/Arav/justcaptcha/internal/http"
) )
var version string var version string
@ -25,7 +25,7 @@ func main() {
log.SetFlags(0) log.SetFlags(0)
if *showVersion { if *showVersion {
fmt.Println("justcaptchad ver.", version, "\nCopyright (c) 2022 Alexander \"Arav\" Andreev <me@arav.top>") fmt.Println("justcaptchad ver.", version, "\nCopyright (c) 2022 Alexander \"Arav\" Andreev <me@arav.su>")
return return
} }

2
go.mod
View File

@ -1,4 +1,4 @@
module git.arav.top/Arav/justcaptcha module git.arav.su/Arav/justcaptcha
go 1.19 go 1.19

View File

@ -6,9 +6,9 @@ import (
"net/http" "net/http"
"time" "time"
"git.arav.top/Arav/justcaptcha/pkg/captcha" "git.arav.su/Arav/justcaptcha/pkg/captcha"
"git.arav.top/Arav/justcaptcha/pkg/captcha/inmemdb" "git.arav.su/Arav/justcaptcha/pkg/captcha/inmemdb"
"git.arav.top/Arav/justcaptcha/pkg/dwcaptcha" "git.arav.su/Arav/justcaptcha/pkg/dwcaptcha"
) )
const errMsgWrongAnswer = "An answer provided was wrong" const errMsgWrongAnswer = "An answer provided was wrong"

View File

@ -5,7 +5,7 @@ import (
"sync" "sync"
"time" "time"
"git.arav.top/Arav/justcaptcha/pkg/captcha" "git.arav.su/Arav/justcaptcha/pkg/captcha"
) )
// InMemoryCaptchaDB implementation that lives in a memory (map). // InMemoryCaptchaDB implementation that lives in a memory (map).

View File

@ -4,9 +4,9 @@ import (
"testing" "testing"
"time" "time"
"git.arav.top/Arav/justcaptcha/pkg/captcha" "git.arav.su/Arav/justcaptcha/pkg/captcha"
"git.arav.top/Arav/justcaptcha/pkg/captcha/inmemdb" "git.arav.su/Arav/justcaptcha/pkg/captcha/inmemdb"
"git.arav.top/Arav/justcaptcha/pkg/dwcaptcha" "git.arav.su/Arav/justcaptcha/pkg/dwcaptcha"
) )
const expiry = 10 * time.Minute const expiry = 10 * time.Minute

View File

@ -4,7 +4,7 @@ import (
"testing" "testing"
"time" "time"
"git.arav.top/Arav/justcaptcha/pkg/dwcaptcha" "git.arav.su/Arav/justcaptcha/pkg/dwcaptcha"
) )
const expiry = 10 * time.Minute const expiry = 10 * time.Minute

View File

@ -5,7 +5,7 @@ import (
"math/rand" "math/rand"
"time" "time"
"git.arav.top/Arav/justcaptcha/pkg/captcha" "git.arav.su/Arav/justcaptcha/pkg/captcha"
"github.com/fogleman/gg" "github.com/fogleman/gg"
) )