Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/selfish-bananas-nail.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@opennextjs/cloudflare": patch
---

fix path to file template in `open-next.config.ts`.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as path from "node:path";

const templatesDirPath = path.resolve(`${import.meta.dirname}/../../templates`);
const __dirname = path.dirname(new URL(import.meta.url).pathname);
const templatesDirPath = path.resolve(`${__dirname}/../../templates`);

/**
* Utility for getting the resolved path to the package's templates directory
Expand Down