Skip to content

Commit

Permalink
Merge branch 'canary' into styfle/next-1120-draftmode-does-not-set-co…
Browse files Browse the repository at this point in the history
…okie
  • Loading branch information
styfle committed May 18, 2023
2 parents 308143a + 0a81cc0 commit 2998976
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/next/src/export/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,12 +228,6 @@ export default async function exportApp(
)
}

if (nextConfig.experimental.serverActions) {
throw new ExportError(
`Server Actions are not supported with static export.`
)
}

const customRoutesDetected = ['rewrites', 'redirects', 'headers'].filter(
(config) => typeof nextConfig[config] === 'function'
)
Expand Down

0 comments on commit 2998976

Please sign in to comment.