From 0ecc37dbf1deb70f8e02f0077e872d906941ce17 Mon Sep 17 00:00:00 2001 From: jingquan huang Date: Thu, 5 Mar 2020 16:54:56 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B7=AF=E7=94=B1=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/routes.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/routes.rb b/config/routes.rb index ba0827676..7da30bc7e 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -1463,9 +1463,9 @@ Rails.application.routes.draw do get 'oauth/get_code', to: 'oauth#get_code' get 'oauth/get_token_callback', to: 'oauth#get_token_callback' - root 'main#index' + # root 'main#index' ## react用 - get '*path', to: 'main#index', constraints: ReactConstraint.new + # get '*path', to: 'main#index', constraints: ReactConstraint.new end