Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Pleroma
pleroma
Commits
e47f60c0
Commit
e47f60c0
authored
Jan 31, 2018
by
Hakaba Hitoyo
Browse files
provide instance thumbnail at /api/v1/instance (debug)
parent
10753178
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib/pleroma/web/mastodon_api/mastodon_api_controller.ex
View file @
e47f60c0
...
...
@@ -103,7 +103,7 @@ def masto_instance(conn, _params) do
streaming_api:
String
.
replace
(
Web
.
base_url
,
[
"http"
,
"https"
],
"wss"
)
},
stats:
Stats
.
get_stats
,
thumbnail:
Web
.
base_url
<>
"/
static/
instance
-
thumbnail.jpeg"
,
thumbnail:
Web
.
base_url
<>
"/instance
/
thumbnail.jpeg"
,
max_toot_chars:
Keyword
.
get
(
@instance
,
:limit
)
}
...
...
priv/static/
static/
instance
-
thumbnail.jpeg
→
priv/static/instance
/
thumbnail.jpeg
View file @
e47f60c0
File moved
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment