이 웹사이트는 자바스크립트 활성화가 필요합니다.
홈
탐색
도움말
로그인
abunchtell
/
mastodon
보기
1
좋아요
0
포크
0
코드
이슈
0
활동
소스 검색
Fix `GET /api/v1/instance` REST APIs being unavailable in secure mode (
#12089
)
master^2
Eugen Rochko
4 년 전
committed by
GitHub
부모
f665901e3c
커밋
a582185625
No known key found for this signature in database
GPG 키 ID:
4AEE18F83AFDEB23
3개의 변경된 파일
과
3개의 추가작업
그리고
0개의 파일을 삭제
분할 보기
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-0
app/controllers/api/v1/instances/activity_controller.rb
+1
-0
app/controllers/api/v1/instances/peers_controller.rb
+1
-0
app/controllers/api/v1/instances_controller.rb
+ 1
- 0
app/controllers/api/v1/instances/activity_controller.rb
파일 보기
@@ -4,6 +4,7 @@ class Api::V1::Instances::ActivityController < Api::BaseController
before_action :require_enabled_api!
skip_before_action :set_cache_headers
skip_before_action :require_authenticated_user!, unless: :whitelist_mode?
respond_to :json
+ 1
- 0
app/controllers/api/v1/instances/peers_controller.rb
파일 보기
@@ -4,6 +4,7 @@ class Api::V1::Instances::PeersController < Api::BaseController
before_action :require_enabled_api!
skip_before_action :set_cache_headers
skip_before_action :require_authenticated_user!, unless: :whitelist_mode?
respond_to :json
+ 1
- 0
app/controllers/api/v1/instances_controller.rb
파일 보기
@@ -4,6 +4,7 @@ class Api::V1::InstancesController < Api::BaseController
respond_to :json
skip_before_action :set_cache_headers
skip_before_action :require_authenticated_user!, unless: :whitelist_mode?
def show
expires_in 3.minutes, public: true
쓰기
미리보기
불러오는 중...
취소
저장