aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorFChannel <>2022-05-22 19:23:40 -0700
committerFChannel <>2022-06-19 12:53:29 -0700
commitfbc0e5e5f910ea64b6b18be1a354817c195a6f04 (patch)
treeda6638be4cce90eb6ff35882ab5d13c8bc20aec5 /main.go
parent72db74e35577ae857023791ec6cb287b26748727 (diff)
first pass on reporting working - will improve its usability more
Diffstat (limited to 'main.go')
-rw-r--r--main.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/main.go b/main.go
index ced0485..66ecb6c 100644
--- a/main.go
+++ b/main.go
@@ -76,12 +76,11 @@ func main() {
app.Get("/delete", routes.BoardDelete)
app.Get("/deleteattach", routes.BoardDeleteAttach)
app.Get("/marksensitive", routes.BoardMarkSensitive)
- app.Get("/remove", routes.BoardRemove)
app.Get("/addtoindex", routes.BoardAddToIndex)
app.Get("/poparchive", routes.BoardPopArchive)
app.Get("/autosubscribe", routes.BoardAutoSubscribe)
app.Get("/blacklist", routes.BoardBlacklist)
- app.Get("/report", routes.BoardReport)
+ app.All("/report", routes.BoardReport)
// Webfinger routes
app.Get("/.well-known/webfinger", routes.Webfinger)