服务器代理配置归类于 server.proxy 对象下
🌐 Server proxy configurations are grouped under the server.proxy object
Page summary:在 Strapi 5 中,所有代理配置选项都被整合到
/config/server.js|ts中的server.proxy对象下,取代了 v4 中单独的server.globalProxy和server.proxy选项 。🌐 In Strapi 5, all proxy configuration options are consolidated under the
server.proxyobject in/config/server.js|ts, replacing separateserver.globalProxyandserver.proxyoptions from v4.
在 Strapi 5 中,所有代理配置选项现在都通过 /config/server.js|ts 中的 server.proxy 对象进行配置,无论它们是用于 strapi.fetch 内发出的请求,还是用于 koa 服务器的全局代理代理。
此页面是重大更改数据库的一部分,提供关于重大更改的信息以及从 Strapi v4 迁移到 Strapi 5 的附加说明。
🌐 This page is part of the breaking changes database and provides information about the breaking change and additional instructions to migrate from Strapi v4 to Strapi 5.
Is this breaking change affecting plugins?No
Is this breaking change automatically handled by a codemod?No