h5render问题

sso^2
daiao 5 years ago
parent 5cfc13b69a
commit bc252d9e4c

@ -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
Loading…
Cancel
Save