diff options
author | Brian Picciano <mediocregopher@gmail.com> | 2024-07-24 21:48:38 +0200 |
---|---|---|
committer | Brian Picciano <mediocregopher@gmail.com> | 2024-07-24 21:48:38 +0200 |
commit | 45c20d03663878f3508eaa9b961cb0cb12cc5574 (patch) | |
tree | a965671ce18393c638b3d52b6a82b3b5cf90beb9 /src/http/http.go | |
parent | 60c6165d07b7fa633d7a8fafbe70e23c83d43c47 (diff) |
Got post exporting working
Diffstat (limited to 'src/http/http.go')
-rw-r--r-- | src/http/http.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/http/http.go b/src/http/http.go index 11b4976..addc685 100644 --- a/src/http/http.go +++ b/src/http/http.go @@ -129,7 +129,7 @@ type api struct { redirectTpl *template.Template auther Auther urlBuilder render.URLBuilder - postPreprocessFuncs postPreprocessFuncs + postPreprocessFuncs post.PreprocessFunctions } // New initializes and returns a new API instance, including setting up all @@ -157,7 +157,7 @@ func New(params Params) (API, error) { ), } - a.postPreprocessFuncs = newPostPreprocessFuncs(a.urlBuilder) + a.postPreprocessFuncs = NewPostPreprocessFuncs(a.urlBuilder) a.redirectTpl = mustParseTpl(template.New(""), "redirect.html") a.srv = &http.Server{Handler: a.handler()} |