Add ability to cache bookmark

This commit is contained in:
2023-07-29 18:06:05 +10:00
parent 46c5d7a4aa
commit 19aff274de
9 changed files with 60 additions and 45 deletions

View File

@@ -4,5 +4,6 @@ Hanami.app.register_provider :post_utilities, namespace: true do
start do
register "slugify", Adamantium::SlugCreator.new
register "link_finder", Adamantium::LinkFinder.new
register "page_cacher", Adamantium::PageCacher.new
end
end

View File

@@ -9,7 +9,6 @@ module Adamantium
use Hanami::Middleware::BodyParser, [:form, :json]
# use Adamantium::Middleware::ProcessParams
scope "micropub" do
get "/", to: "site.config"
post "/", to: "posts.handle"