1
mirror of https://github.com/jlelse/GoBlog synced 2024-06-02 06:44:27 +00:00

Add missing router path

This commit is contained in:
Jan-Lukas Else 2021-12-11 19:58:15 +01:00
parent 52fad57232
commit b0d03d2d18

View File

@ -346,6 +346,7 @@ func (a *goBlog) blogEditorRouter(conf *configBlog) func(r chi.Router) {
r.Get("/unlisted"+paginationPath, a.serveUnlisted) r.Get("/unlisted"+paginationPath, a.serveUnlisted)
r.Get("/scheduled", a.serveScheduled) r.Get("/scheduled", a.serveScheduled)
r.Get("/scheduled"+feedPath, a.serveScheduled) r.Get("/scheduled"+feedPath, a.serveScheduled)
r.Get("/scheduled"+paginationPath, a.serveScheduled)
r.HandleFunc("/preview", a.serveEditorPreview) r.HandleFunc("/preview", a.serveEditorPreview)
} }
} }