Skip to content

Commit

Permalink
fix(vercel, vercel-edge): set version as number
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Jul 13, 2022
1 parent 6327621 commit f476cfc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/presets/vercel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const vercel = defineNitroPreset({
async 'compiled' (nitro: Nitro) {
const buildConfigPath = resolve(nitro.options.output.dir, 'config.json')
const buildConfig = {
version: '3',
version: 3,
routes: [
...nitro.options.publicAssets
.filter(asset => !asset.fallthrough)
Expand Down Expand Up @@ -77,7 +77,7 @@ export const vercelEdge = defineNitroPreset({
async 'compiled' (nitro: Nitro) {
const buildConfigPath = resolve(nitro.options.output.dir, 'config.json')
const buildConfig = {
version: '3',
version: 3,
routes: [
...nitro.options.publicAssets
.filter(asset => !asset.fallthrough)
Expand Down

0 comments on commit f476cfc

Please sign in to comment.