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
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
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
pkgver=2.0.1
pkgrel=1
pkgdesc="Just a CAPTCHA service"
arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://git.arav.top/Arav/justcaptcha"
url="https://git.arav.su/Arav/justcaptcha"
license=('MIT')
groups=()
depends=()
@ -15,7 +15,7 @@ replaces=()
backup=()
options=()
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=()
md5sums=('SKIP')

View File

@ -11,7 +11,7 @@ import (
"syscall"
"time"
"git.arav.top/Arav/justcaptcha/internal/http"
"git.arav.su/Arav/justcaptcha/internal/http"
)
var version string
@ -25,7 +25,7 @@ func main() {
log.SetFlags(0)
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
}

2
go.mod
View File

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

View File

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

View File

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

View File

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

View File

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

View File

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