mirror of
https://github.com/neocities/neocities.git
synced 2025-04-28 19:22:32 +02:00
Merge 39b4cfc5ed
into 3e39b6f5c7
This commit is contained in:
commit
92e0ecbe3a
1 changed files with 6 additions and 0 deletions
|
@ -227,6 +227,12 @@ def api_info_for(site)
|
|||
}
|
||||
end
|
||||
|
||||
get '/api/supporter_status' do
|
||||
require_api_credentials
|
||||
|
||||
api_success supporter: current_site.supporter?
|
||||
end
|
||||
|
||||
# Catch-all for missing api calls
|
||||
|
||||
get '/api/:name' do
|
||||
|
|
Loading…
Add table
Reference in a new issue