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