Skip to content

Commit

Permalink
Review
Browse files Browse the repository at this point in the history
  • Loading branch information
markdalgleish authored Jul 26, 2024
1 parent 0c76ffc commit d446ab6
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions templates/cloudflare-workers/load-context.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
import { type PlatformProxy } from "wrangler";

// NOTE: PlatformProxy’s caches property is incompatible with the caches global
// PlatformProxy’s caches property is incompatible with the caches global
// https://github.com/cloudflare/workers-sdk/blob/main/packages/wrangler/src/api/integrations/platform/caches.ts
// TS error: Property 'default' is missing in type 'CacheStorage' but required in type 'CacheStorage_2'.
type Cloudflare = Omit<PlatformProxy<Env>, "dispose" | "caches"> & {
caches: CacheStorage;
};
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion templates/cloudflare-workers/wrangler.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "remix-cloudflare-workers-template"

main = "./worker.ts"
main = "./server.ts"
workers_dev = true
# https://developers.cloudflare.com/workers/platform/compatibility-dates
compatibility_date = "2023-04-20"
Expand Down

0 comments on commit d446ab6

Please sign in to comment.