projects
/
akkoma
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Insert meta tags into static index.html on the fly for OStatus#notice
[akkoma]
/
lib
/
pleroma
/
web
/
oembed
/
oembed_controller.ex
1
defmodule Pleroma.Web.OEmbed.OEmbedController do
2
use Pleroma.Web, :controller
3
4
alias Pleroma.Repo
5
6
def url(conn, %{ "url" => uri} ) do
7
conn
8
|> put_resp_content_type("application/json")
9
|> json(%{ status: "success"} )
10
end
11
end