我正在使用Nginx來爲Angular 2客戶端和路由休息API服務於後端服務器。 ... ($request_method = 'OPTIONS') { add_header 'Access-Control-Allow-Origin' $http_origin; ...
確定! 回上一頁