Document actor-profile page.

parent c67da3da
......@@ -115,6 +115,13 @@
;;; Pages
;;; =====
;; This is the page for the actor's profile (which is mounted at the
;; root in this demo, but is the same as eg "")
;; We serve content differently depending on whether the request
;; asks for ActivityStreams json-ld (in which case we return the json-ld
;; profile of this actor, which most critically for this demo has the
;; inbox property attached).
;; Otherwise we return an html render.
(define (actor-profile req)
;; A very naive (and incorrect) version of header parsing.
;; A demo kludge for sure ;P
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment