Skip to content

Commit

Permalink
misc: Fix graphql routes
Browse files Browse the repository at this point in the history
  • Loading branch information
rsempe committed Sep 20, 2024
1 parent fd78551 commit 4c0e5d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions config/routes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# TODO(graphql_schema): This route is deprecated and should be removed.
post '/graphql', to: 'graphql#execute'

post 'api/graphql', to: 'graphql/api#execute'
post 'customer_portal/graphql', to: 'graphql/customer_portal#execute'
post '/api/graphql', to: 'graphql/api#execute'
post '/customer_portal/graphql', to: 'graphql/customer_portal#execute'

if Rails.env.development?
mount GraphiQL::Rails::Engine,
Expand Down

0 comments on commit 4c0e5d1

Please sign in to comment.