|
|
|
@ -23,8 +23,9 @@ class MainController < ApplicationController
|
|
|
|
|
|
|
|
|
|
if params[:path] && 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
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
render file: 'public/react/build/index.html', :layout => false
|
|
|
|
|
end
|
|
|
|
|
end
|