Skip to content

Commit

Permalink
Use /fetch component
Browse files Browse the repository at this point in the history
  • Loading branch information
jackkleeman committed Jun 21, 2024
1 parent e71094e commit 91d7f24
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/cloudflare-worker/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { Context, endpoint, service } from "@restatedev/restate-sdk/cloudflare";
import { Context, endpoint, service } from "@restatedev/restate-sdk/fetch";

// Template of a Restate service and handler
//
// Have a look at the TS QuickStart to learn how to run this: https://docs.restate.dev/get_started/quickstart?sdk=ts
// Have a look at the TS QuickStart: https://docs.restate.dev/get_started/quickstart?sdk=ts
//

const greet = async (ctx: Context, greeting: string) => {
Expand Down

0 comments on commit 91d7f24

Please sign in to comment.