tangled
alpha
login
or
join now
tjh.dev
/
core
forked from
tangled.org/core
0
fork
atom
this repo has no description
0
fork
atom
overview
issues
pulls
pipelines
legit: usernames without @ prefix internally
anirudh.fi
1 year ago
3d7bc5eb
d90bef31
verified
This commit was signed with the committer's
known signature
.
anirudh.fi
SSH Key Fingerprint:
SHA256:FQUiBXeyBQT4WKOm7EKh6hLkHjBh9MdfkV3my0dueGE=
+1
-1
1 changed file
expand all
collapse all
unified
split
legit
routes
routes.go
+1
-1
legit/routes/routes.go
···
26
26
}
27
27
28
28
func (d *deps) Index(w http.ResponseWriter, r *http.Request) {
29
29
-
user := "@" + chi.URLParam(r, "user")
29
29
+
user := chi.URLParam(r, "user")
30
30
path := filepath.Join(d.c.Repo.ScanPath, user)
31
31
dirs, err := os.ReadDir(path)
32
32
if err != nil {