API title changed
This commit is contained in:
@@ -23,4 +23,4 @@ stats = statistics
|
|||||||
export = export
|
export = export
|
||||||
edit = edit
|
edit = edit
|
||||||
short-url = short url
|
short-url = short url
|
||||||
api-registration = NoteHub API Access Request
|
api-title = NoteHub API
|
||||||
|
|||||||
@@ -182,7 +182,7 @@
|
|||||||
; Here lives the API
|
; Here lives the API
|
||||||
|
|
||||||
(defpage "/api" args
|
(defpage "/api" args
|
||||||
(let [title (get-message :api-registration)]
|
(let [title (get-message :api-title)]
|
||||||
(layout title [:article.markdown (slurp "API.md")])))
|
(layout title [:article.markdown (slurp "API.md")])))
|
||||||
|
|
||||||
(defpage [:get "/api/note"] {:keys [version noteID]}
|
(defpage [:get "/api/note"] {:keys [version noteID]}
|
||||||
|
|||||||
Reference in New Issue
Block a user