summaryrefslogtreecommitdiff
path: root/internal/httpclient
diff options
context:
space:
mode:
authorLibravatar Daenney <daenney@users.noreply.github.com>2025-04-26 15:34:10 +0200
committerLibravatar Daenney <daenney@users.noreply.github.com>2025-04-26 15:38:43 +0200
commitab10266bff8d3dea1655e5f98a932efa2474bdb6 (patch)
treedef81628d7a7c81b8ad0c971fb02ebc945eca75c /internal/httpclient
parent[chore] Set up Github to be a mirror (diff)
downloadgotosocial-ab10266bff8d3dea1655e5f98a932efa2474bdb6.tar.xz
[feature] Move to code.superseriousbusiness.org
Diffstat (limited to 'internal/httpclient')
-rw-r--r--internal/httpclient/client.go6
-rw-r--r--internal/httpclient/client_test.go2
-rw-r--r--internal/httpclient/request.go2
-rw-r--r--internal/httpclient/sanitizer_test.go2
-rw-r--r--internal/httpclient/transport.go2
5 files changed, 7 insertions, 7 deletions
diff --git a/internal/httpclient/client.go b/internal/httpclient/client.go
index 445c6a9e5..bc93205d3 100644
--- a/internal/httpclient/client.go
+++ b/internal/httpclient/client.go
@@ -31,12 +31,12 @@ import (
"strings"
"time"
+ "code.superseriousbusiness.org/gotosocial/internal/gtscontext"
+ "code.superseriousbusiness.org/gotosocial/internal/gtserror"
+ "code.superseriousbusiness.org/gotosocial/internal/log"
"codeberg.org/gruf/go-cache/v3"
errorsv2 "codeberg.org/gruf/go-errors/v2"
"codeberg.org/gruf/go-iotools"
- "github.com/superseriousbusiness/gotosocial/internal/gtscontext"
- "github.com/superseriousbusiness/gotosocial/internal/gtserror"
- "github.com/superseriousbusiness/gotosocial/internal/log"
)
var (
diff --git a/internal/httpclient/client_test.go b/internal/httpclient/client_test.go
index 2e36a6e90..e94644da8 100644
--- a/internal/httpclient/client_test.go
+++ b/internal/httpclient/client_test.go
@@ -26,7 +26,7 @@ import (
"net/netip"
"testing"
- "github.com/superseriousbusiness/gotosocial/internal/httpclient"
+ "code.superseriousbusiness.org/gotosocial/internal/httpclient"
)
var privateIPs = []string{
diff --git a/internal/httpclient/request.go b/internal/httpclient/request.go
index 853563945..39b0b253c 100644
--- a/internal/httpclient/request.go
+++ b/internal/httpclient/request.go
@@ -22,7 +22,7 @@ import (
"strconv"
"time"
- "github.com/superseriousbusiness/gotosocial/internal/log"
+ "code.superseriousbusiness.org/gotosocial/internal/log"
)
const (
diff --git a/internal/httpclient/sanitizer_test.go b/internal/httpclient/sanitizer_test.go
index 1cb8a7d2e..1c292b779 100644
--- a/internal/httpclient/sanitizer_test.go
+++ b/internal/httpclient/sanitizer_test.go
@@ -22,7 +22,7 @@ import (
"net/netip"
"testing"
- "github.com/superseriousbusiness/gotosocial/internal/httpclient"
+ "code.superseriousbusiness.org/gotosocial/internal/httpclient"
)
func TestSafeIP(t *testing.T) {
diff --git a/internal/httpclient/transport.go b/internal/httpclient/transport.go
index 350d24fab..a92c1ab0d 100644
--- a/internal/httpclient/transport.go
+++ b/internal/httpclient/transport.go
@@ -21,7 +21,7 @@ import (
"net/http"
"time"
- "github.com/superseriousbusiness/gotosocial/internal/gtscontext"
+ "code.superseriousbusiness.org/gotosocial/internal/gtscontext"
)
// SignFunc is a function signature that provides request signing.