sso^2
daiao 5 years ago
parent 7ea6db4ead
commit c9e210dbbb

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