diff options
| author | Nick Thomas <nick@gitlab.com> | 2017-08-16 14:04:41 +0100 |
|---|---|---|
| committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2018-06-05 20:47:42 +0200 |
| commit | 9c6c17cbcdb8bf8185fc1b873dcfd08f723e4df5 (patch) | |
| tree | 624dba30e87ed0ea39afa0535d92c37c7718daef /config | |
| parent | 67dc43db2f30095cce7fe01d7f475d084be936e8 (diff) | |
| download | gitlab-ce-9c6c17cbcdb8bf8185fc1b873dcfd08f723e4df5.tar.gz | |
Add a minimal GraphQL API
Diffstat (limited to 'config')
| -rw-r--r-- | config/dependency_decisions.yml | 6 | ||||
| -rw-r--r-- | config/routes/api.rb | 3 |
2 files changed, 9 insertions, 0 deletions
diff --git a/config/dependency_decisions.yml b/config/dependency_decisions.yml index 6616b85129e..55a8c9dac9b 100644 --- a/config/dependency_decisions.yml +++ b/config/dependency_decisions.yml @@ -534,3 +534,9 @@ :why: https://github.com/squaremo/bitsyntax-js/blob/master/LICENSE-MIT :versions: [] :when: 2018-02-20 22:20:25.958123000 Z + - promise.rb + - Unlicense + - :who: + :why: + :versions: [] + :when: 2017-09-05 13:10:22.752422892 Z diff --git a/config/routes/api.rb b/config/routes/api.rb index ce7a7c88900..54ce6d01df0 100644 --- a/config/routes/api.rb +++ b/config/routes/api.rb @@ -1,2 +1,5 @@ +post '/api/graphql', to: 'graphql#execute' +mount GraphiQL::Rails::Engine, at: '/api/graphiql', graphql_path: '/api/graphql' + API::API.logger Rails.logger mount API::API => '/' |
