Skip to content

Commit

Permalink
Fix URLPattern next/server export on deploy (#39290)
Browse files Browse the repository at this point in the history
  • Loading branch information
ijjk committed Aug 3, 2022
1 parent 213c42f commit 41ffe97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/next/server.js
Expand Up @@ -7,5 +7,6 @@ module.exports = {
.userAgentFromString,
userAgent: require('next/dist/server/web/spec-extension/user-agent')
.userAgent,
URLPattern: global.URLPattern,
// eslint-disable-next-line no-undef
URLPattern: URLPattern,
}

0 comments on commit 41ffe97

Please sign in to comment.