Skip to content

Commit

Permalink
Update cms-makeswift example (#39834)
Browse files Browse the repository at this point in the history
Upgrade @makeswift/runtime to the latest version. This removes the need
for the MAKESWIFT_API_HOST environment variable and improves error
messages when integrating Next.js with Makeswift.

## Documentation / Examples

- [x] Make sure the linting passes by running `pnpm lint`
- [x] The examples guidelines are followed from [our contributing doc](https://github.com/vercel/next.js/blob/canary/contributing.md#adding-examples)
  • Loading branch information
migueloller committed Aug 22, 2022
1 parent 6bc7cda commit 1f5da04
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion examples/cms-makeswift/.env.local.example
@@ -1,2 +1 @@
MAKESWIFT_API_HOST=https://api.makeswift.com
MAKESWIFT_SITE_API_KEY=
2 changes: 1 addition & 1 deletion examples/cms-makeswift/package.json
Expand Up @@ -6,7 +6,7 @@
"start": "next start"
},
"dependencies": {
"@makeswift/runtime": "0.1.2",
"@makeswift/runtime": "0.1.5",
"next": "latest",
"react": "18.2.0",
"react-dom": "18.2.0"
Expand Down

0 comments on commit 1f5da04

Please sign in to comment.