XMLHttpRequest at 'http://localhost:3001/blockchain' from origin 'https://chalkcoin.io' has been blocked by CORS我试着将corsOptions改为origin: "https://chalkcoin.io"和origin: "*"以表示app.use(cors(corsOptions))。这就让我来到
同时,我想要允许CORS。但开启自定义安全筛选器后,web应用发送的请求会因为CORS错误而失败。authentication filter is added to the filter chain, httpResponse.sendError(401); }
} 使用自定义身份验证筛选器时,如何启用<e