Skip to content

Conversation

hamflx
Copy link

@hamflx hamflx commented Apr 8, 2024

因为这里创建了一个全局作用域(影响所有路由的)的 cors 中间件,且没有读取 viteserver.cors 配置,导致 server.cors 配置失效(本地开发无界微应用项目会因此报跨域错误)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant