Unverified Commit 3c675834 authored by JJ Kasper's avatar JJ Kasper Committed by GitHub

Fix middleware e2e deploy test (#50317)

`default` isn't a valid `region` at this point so this removes that.

Fixes:
https://github.com/vercel/next.js/actions/runs/5076047750/jobs/9118043860#step:6:469
parent 831a1a99
import { NextResponse } from 'next/server' import { NextResponse } from 'next/server'
export const config = { runtime: 'edge', regions: 'default' } export const config = { runtime: 'edge', regions: 'auto' }
/** /**
* @param {import('next/server').NextRequest} * @param {import('next/server').NextRequest}
......
...@@ -159,7 +159,7 @@ describe('Middleware Runtime', () => { ...@@ -159,7 +159,7 @@ describe('Middleware Runtime', () => {
expect(manifest.functions['/api/edge-search-params']).toHaveProperty( expect(manifest.functions['/api/edge-search-params']).toHaveProperty(
'regions', 'regions',
'default' 'auto'
) )
}) })
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment