- Add proxy endpoint for proxying a message to a target's inbox - Change duck embed to fs based to fix mk not understanding it
This commit is contained in:
parent
d70786439e
commit
415cd89792
8 changed files with 104 additions and 17 deletions
|
@ -30,6 +30,8 @@ func New(addr string) *Server {
|
|||
handler.HandleFunc("GET /import-user", issueUserImport)
|
||||
handler.HandleFunc("GET /keys-for", returnKeypair)
|
||||
handler.HandleFunc("GET /import-server", importServerInfo)
|
||||
handler.HandleFunc("GET /request-follow", kickoffFollow)
|
||||
handler.HandleFunc("POST /send-as", proxyMessageToTarget)
|
||||
web := http.Server{
|
||||
Addr: addr,
|
||||
Handler: webutils.ChainMiddlewares(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue