[perf] /item/:id -> /hp/:id

This commit is contained in:
SouthFox 2023-09-08 21:18:39 +08:00
parent 17e3c604aa
commit 4d9b908c1d
2 changed files with 2 additions and 2 deletions

View file

@ -15,7 +15,7 @@
{:name :about {:name :about
:view frontend.views/about-page :view frontend.views/about-page
:link-text "About"}] :link-text "About"}]
["item/:id" ["hp/:id"
{:name :item {:name :item
:view frontend.views/item-page :view frontend.views/item-page
:link-text "Item" :link-text "Item"

View file

@ -10,7 +10,7 @@
{:type "button" {:type "button"
:on-click #(rfe/push-state :item {:id id}) :on-click #(rfe/push-state :item {:id id})
:class "btn btn-blue"} :class "btn btn-blue"}
"Item " id] "Post " id]
[:br]]) [:br]])