We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5f93039 commit 16d1d87Copy full SHA for 16d1d87
packages/open-next/src/plugins/edge.ts
@@ -39,7 +39,9 @@ export function openNextEdgePlugins({
39
isInCloudflare,
40
}: IPluginSettings): Plugin {
41
const entryFiles =
42
- middlewareInfo?.files.map((file: string) => path.join(nextDir, file)) ?? [];
+ middlewareInfo?.files.map((file: string) =>
43
+ path.join(nextDir, file).replace(/\\/g, "/"),
44
+ ) ?? [];
45
const routes = middlewareInfo
46
? [
47
{
0 commit comments