7
CORS 정책을 통해 모든 것을 허용
Cors를 비활성화하려면 어떻게해야합니까? 어떤 이유로 허용 된 오리진과 헤더를 와일드 카드로 지정했지만 내 ajax 요청은 여전히 내 CORS 정책에서 오리진을 허용하지 않는다고 불평합니다 .... 내 애플리케이션 컨트롤러 : class ApplicationController < ActionController::Base protect_from_forgery before_filter :current_user, :cors_preflight_check after_filter :cors_set_access_control_headers # For all responses in this controller, return the CORS access control …
100
ruby-on-rails
cors