projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
oauth: support either name or username parameter with grant_type=password
[akkoma]
/
lib
/
pleroma
/
web
/
router.ex
diff --git
a/lib/pleroma/web/router.ex
b/lib/pleroma/web/router.ex
index 6f8b427b5c4e607bb610b3abad600e84987b1d63..0e6369147652982072500b8e4c39d6ff40cd178a 100644
(file)
--- a/
lib/pleroma/web/router.ex
+++ b/
lib/pleroma/web/router.ex
@@
-41,7
+41,7
@@
defmodule Pleroma.Web.Router do
end
pipeline :well_known do
end
pipeline :well_known do
- plug(:accepts, ["
xml", "xrd+xml", "json", "jrd+json
"])
+ plug(:accepts, ["
json", "jrd+json", "xml", "xml+xrd
"])
end
pipeline :config do
end
pipeline :config do
@@
-105,7
+105,6
@@
defmodule Pleroma.Web.Router do
get("/blocks", MastodonAPIController, :blocks)
get("/blocks", MastodonAPIController, :blocks)
- get("/domain_blocks", MastodonAPIController, :empty_array)
get("/mutes", MastodonAPIController, :empty_array)
get("/timelines/home", MastodonAPIController, :home_timeline)
get("/mutes", MastodonAPIController, :empty_array)
get("/timelines/home", MastodonAPIController, :home_timeline)