Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

より安全に利用できるようにするため GraphiQL を削除 #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions ApiNav.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ public static function getNav()
],
],
];
if ('dev' === env('APP_ENV')) {
$menu['setting']['children']['api']['children']['graphiql'] = [
'name' => 'api.admin.graphiql.name',
'url' => 'admin_api_graphiql',
];
}

return $menu;
}
Expand Down
94 changes: 0 additions & 94 deletions Controller/Admin/GraphiQLController.php

This file was deleted.

2 changes: 0 additions & 2 deletions Resource/locale/messages.en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@ api:
search_no_result_message: No WebHooks.
delete__confirm_title: Delete a WebHook
delete__confirm_message: Are you sure to delete this WebHook?
graphiql:
name: GraphiQL

#------------------------------------------------------------------------------------
# API
Expand Down
3 changes: 1 addition & 2 deletions Resource/locale/messages.ja.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,7 @@ api:
search_no_result_message: WebHookが登録されていません
delete__confirm_title: WebHookを削除します
delete__confirm_message: WebHookを削除してもよろしいですか?
graphiql:
name: GraphiQL

#------------------------------------------------------------------------------------
# API
#------------------------------------------------------------------------------------
Expand Down
188 changes: 0 additions & 188 deletions Resource/template/admin/OAuth/graphiql.twig

This file was deleted.