daiao 5 years ago
parent 3905693b31
commit 3a1fd25cbd

@ -19,8 +19,7 @@ class MainController < ApplicationController
uid_logger("main start is #{cookies[:_educoder_session]}")
end
Rails.logger("params paths is #{params}")
if params[:path] == "h5"
if params[:path].split("/").first == "h5"
render file: 'public/h5build/index.html', :layout => false
else
render file: 'public/react/build/index.html', :layout => false

Loading…
Cancel
Save