@ -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