alpha
Login
or
Join now
4uffin.bsky.social
/
core
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
My own copy of Tangled :)
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
require auth for issue modifications
author
Akshay
date
1 year ago
(Mar 5, 2025, 9:29 PM UTC)
commit
2f031fc2
2f031fc2e960b10fbb08200009ca061508525451
parent
1c501d2c
1c501d2cd932d47e0b9b0ae4ac93e3c17637f920
+9
-5
1 changed file
Expand all
Collapse all
Unified
Split
appview
state
state.go
+9
-5
appview/state/state.go
Reviewed
···
815
815
r.Route("/issues", func(r chi.Router) {
816
816
r.Get("/", s.RepoIssues)
817
817
r.Get("/{issue}", s.RepoSingleIssue)
818
818
-
r.Get("/new", s.NewIssue)
819
819
-
r.Post("/new", s.NewIssue)
820
820
-
r.Post("/{issue}/comment", s.IssueComment)
821
821
-
r.Post("/{issue}/close", s.CloseIssue)
822
822
-
r.Post("/{issue}/reopen", s.ReopenIssue)
818
818
+
819
819
+
r.Group(func(r chi.Router) {
820
820
+
r.Use(AuthMiddleware(s))
821
821
+
r.Get("/new", s.NewIssue)
822
822
+
r.Post("/new", s.NewIssue)
823
823
+
r.Post("/{issue}/comment", s.IssueComment)
824
824
+
r.Post("/{issue}/close", s.CloseIssue)
825
825
+
r.Post("/{issue}/reopen", s.ReopenIssue)
826
826
+
})
823
827
})
824
828
825
829
r.Route("/pulls", func(r chi.Router) {