Skip to content

Commit

Permalink
chore: update example next.js README
Browse files Browse the repository at this point in the history
  • Loading branch information
zhanshuyou committed Jun 24, 2024
1 parent d93b9cf commit 628a448
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/nextjs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ Fixed the issue of "Unable to load service: milvus.proto.milvus.MilvusService"
const nextConfig = {
experimental: {
serverComponentsExternalPackages: ['@zilliz/milvus2-sdk-node'],
outputFileTracingIncludes: {
// When deploying to Vercel, the following configuration is required
'/api/**/*': ['node_modules/@zilliz/milvus2-sdk-node/dist/proto/**/*'],
},
},
};

Expand Down

0 comments on commit 628a448

Please sign in to comment.