|
|
@ -19,11 +19,11 @@ class MainController < ApplicationController
|
|
|
|
|
|
|
|
|
|
|
|
uid_logger("main start is #{cookies[:_educoder_session]}")
|
|
|
|
uid_logger("main start is #{cookies[:_educoder_session]}")
|
|
|
|
end
|
|
|
|
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
|
|
|
|
render file: 'public/h5build/index.html', :layout => false
|
|
|
|
else
|
|
|
|
|
|
|
|
render file: 'public/react/build/index.html', :layout => false
|
|
|
|
|
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
render file: 'public/react/build/index.html', :layout => false
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|