Skip to content

Commit

Permalink
fix(cloudflare): use @cloudflare/wrangler until we support wrangler…
Browse files Browse the repository at this point in the history
… 2 (nitrojs#265)
  • Loading branch information
atinux authored and WinterYukky committed Nov 1, 2022
1 parent 2492a40 commit 679c622
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/presets/cloudflare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export const cloudflare = defineNitroPreset({
entry: '#internal/nitro/entries/cloudflare',
commands: {
preview: 'npx miniflare ./server/index.mjs --site ./public',
deploy: 'cd ./server && npx wrangler publish'
deploy: 'npx @cloudflare/wrangler publish'
},
hooks: {
async 'compiled' (nitro: Nitro) {
Expand Down

0 comments on commit 679c622

Please sign in to comment.