add typescript
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
development:
|
||||
adapter: redis
|
||||
url: redis://localhost:6379/1
|
||||
adapter: async
|
||||
|
||||
test:
|
||||
adapter: test
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
Rails.application.routes.draw do
|
||||
devise_for :users, controllers: { omniauth_callbacks: 'users/omniauth_callbacks' }
|
||||
|
||||
root to: "entrypoint#index"
|
||||
get "*all" => "entrypoint#index", constraints: lambda { |req|
|
||||
["playground", "rails", "graphql"].filter do |path|
|
||||
req.path.include?(path)
|
||||
end.blank?
|
||||
}
|
||||
|
||||
post "/graphql", to: "graphql#execute"
|
||||
|
||||
ActiveAdmin.routes(self)
|
||||
|
||||
Reference in New Issue
Block a user