diff options
author | Runxi Yu <me@runxiyu.org> | 2024-06-15 08:00:00 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-07-26 08:00:00 +0800 |
commit | 2db2dfdc392606469108e94ae1221891947d74d7 (patch) | |
tree | d0e56a8bb62f9915f0e51cf0d8e4a6ab52e9ed5a /routes | |
parent | Fork init (diff) | |
download | legitrx-2db2dfdc392606469108e94ae1221891947d74d7.tar.gz legitrx-2db2dfdc392606469108e94ae1221891947d74d7.tar.zst legitrx-2db2dfdc392606469108e94ae1221891947d74d7.zip |
go.mod, etc: git.icyphox.sh/legit -> git.sr.ht/~runxiyu/legitrx
Diffstat (limited to 'routes')
-rw-r--r-- | routes/handler.go | 2 | ||||
-rw-r--r-- | routes/routes.go | 4 | ||||
-rw-r--r-- | routes/template.go | 2 | ||||
-rw-r--r-- | routes/util.go | 2 |
4 files changed, 5 insertions, 5 deletions
diff --git a/routes/handler.go b/routes/handler.go index 2a35168..38a57ee 100644 --- a/routes/handler.go +++ b/routes/handler.go @@ -3,7 +3,7 @@ package routes import ( "net/http" - "git.icyphox.sh/legit/config" + "git.sr.ht/~runxiyu/legitrx/config" ) // Checks for gitprotocol-http(5) specific smells; if found, passes diff --git a/routes/routes.go b/routes/routes.go index 327e7b4..df3c056 100644 --- a/routes/routes.go +++ b/routes/routes.go @@ -13,8 +13,8 @@ import ( "strings" "time" - "git.icyphox.sh/legit/config" - "git.icyphox.sh/legit/git" + "git.sr.ht/~runxiyu/legitrx/config" + "git.sr.ht/~runxiyu/legitrx/git" "github.com/dustin/go-humanize" "github.com/microcosm-cc/bluemonday" "github.com/russross/blackfriday/v2" diff --git a/routes/template.go b/routes/template.go index 0b03015..8a22f5f 100644 --- a/routes/template.go +++ b/routes/template.go @@ -9,7 +9,7 @@ import ( "path/filepath" "strings" - "git.icyphox.sh/legit/git" + "git.sr.ht/~runxiyu/legitrx/git" ) func (d *deps) Write404(w http.ResponseWriter) { diff --git a/routes/util.go b/routes/util.go index 7d444d0..2f636e2 100644 --- a/routes/util.go +++ b/routes/util.go @@ -8,7 +8,7 @@ import ( "path/filepath" "strings" - "git.icyphox.sh/legit/git" + "git.sr.ht/~runxiyu/legitrx/git" ) func isGoModule(gr *git.GitRepo) bool { |