当我尝试从strapi API获取数据时,从我的Next.js应用程序获取{statusCode: 400, error: 'Bad Request', message: 'Malicious Pathreturn `${ }${path}`;
// Helper to make GET requests to Strapiexport async function
Hopefully we can replace this with getStaticProps once this issue is fixed: const appProps = await App.getInitialProps(ctx);
// Fetchglobal site settings