-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Modify to use cloudflareDevProxy and load contents of wrangler.toml (#6)
* Modify to use cloudflareDevProxy and load contents of wrangler.toml * Fix pnpm-lock.yaml * fix tsconfig * Remove extra config stuff --------- Co-authored-by: Brooks Lybrand <[email protected]>
- Loading branch information
1 parent
450ab8b
commit 51ff204
Showing
8 changed files
with
24 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
// Generated by Wrangler by running `wrangler types` | ||
|
||
interface Env { | ||
VALUE_FROM_CLOUDFLARE: "Hello from Cloudflare"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,8 @@ | ||
workers_dev = true | ||
name = "my-worker" | ||
name = "my-react-router-worker" | ||
compatibility_date = "2024-11-18" | ||
main = "./build/server/index.js" | ||
assets = { directory = "./build/client/" } | ||
|
||
[vars] | ||
VALUE_FROM_CLOUDFLARE = "Hello from Cloudflare" |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.