てくのろーぐ

新卒エンジニアの日常ログ

rack-cors

rails5APIモード以外でCORS対策

CORSとは何かという方はこちら Failed to load https://hogehoge: Response to preflight request doesn't pass access control check: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://hogehoge' is there…