Skip to content

Commit

Permalink
fixes for cloudflare
Browse files Browse the repository at this point in the history
  • Loading branch information
jollytoad committed Jul 24, 2024
1 parent e7a3a9d commit 5e5f203
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/routes/sse/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export default handlePage(({ req }) => (

<details open>
<summary>What is this?</summary>
<Markdown url={import.meta.resolve("./_doc.md")} />
<Markdown url={import.meta.resolve("./_doc.md")} req={req} />
</details>

<h3>Control:</h3>
Expand Down
5 changes: 2 additions & 3 deletions wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
name = "jollytoad"
pages_build_output_dir = "./.cloudflare/dist"
compatibility_flags = [ "nodejs_compat" ]
rules = [
{ type = "Text", globs = ["**/*.md", "**/*.css", "**/*.html", "**/_static/*", "**/_browser/*"], fallthrough = true }
]

0 comments on commit 5e5f203

Please sign in to comment.