daiao 5 years ago
parent d2cd7b50b2
commit 765864c66e

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

Loading…
Cancel
Save