From 1ee6552559141dd5dba91abec7c81d68c56abda0 Mon Sep 17 00:00:00 2001 From: FChannel <> Date: Mon, 2 May 2022 12:44:41 -0700 Subject: removed all unneeded .go files from root directory --- main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'main.go') diff --git a/main.go b/main.go index 363a88f..c83ba10 100644 --- a/main.go +++ b/main.go @@ -84,7 +84,7 @@ func main() { app.Post("/:actor", routes.ActorPost) app.Get("/:actor/catalog", routes.CatalogGet) app.Get("/:actor/:post", routes.PostGet) - app.Get("/:actor/inbox", routes.ActorInbox) + app.Post("/:actor/inbox", routes.ActorInbox) app.Post("/:actor/outbox", routes.ActorOutbox) app.Get("/:actor/following", routes.ActorFollowing) app.Get("/:actor/followers", routes.ActorFollowers) @@ -183,14 +183,14 @@ func TemplateFunctions(engine *html.Engine) { return fmt.Sprint(t.Unix()) }) - engine.AddFunc("proxy", MediaProxy) + engine.AddFunc("proxy", util.MediaProxy) // previously short engine.AddFunc("shortURL", util.ShortURL) - engine.AddFunc("parseAttachment", ParseAttachment) + engine.AddFunc("parseAttachment", post.ParseAttachment) - engine.AddFunc("parseContent", ParseContent) + engine.AddFunc("parseContent", post.ParseContent) engine.AddFunc("shortImg", util.ShortImg) -- cgit v1.2.3