diff --git a/deploy/api/runtime-broadcast-channel.md b/deploy/api/runtime-broadcast-channel.md index dcc806650..85ed5731a 100644 --- a/deploy/api/runtime-broadcast-channel.md +++ b/deploy/api/runtime-broadcast-channel.md @@ -59,7 +59,7 @@ a simple server that uses `BroadcastChannel` to synchornize state across all running instances of the server. ```ts -import { Hono } from "https://deno.land/x/hono/mod.ts"; +import { Hono } from "jsr:@hono/hono"; // in-memory cache of messages const messages = []; diff --git a/examples/tutorials/aws_lightsail.md b/examples/tutorials/aws_lightsail.md index c00e31666..9b591bd04 100644 --- a/examples/tutorials/aws_lightsail.md +++ b/examples/tutorials/aws_lightsail.md @@ -27,7 +27,7 @@ To focus on the deployment, our app will simply be a `main.ts` file that returns a string as an HTTP response: ```ts -import { Application } from "https://deno.land/x/oak/mod.ts"; +import { Application } from "jsr:@oak/oak"; const app = new Application(); diff --git a/examples/tutorials/digital_ocean.md b/examples/tutorials/digital_ocean.md index df9b4e068..87cc6e8c0 100644 --- a/examples/tutorials/digital_ocean.md +++ b/examples/tutorials/digital_ocean.md @@ -26,7 +26,7 @@ To focus on the deployment, our app will simply be a `main.ts` file that returns a string as an HTTP response: ```ts title="main.ts" -import { Application } from "https://deno.land/x/oak/mod.ts"; +import { Application } from "jsr:@oak/oak"; const app = new Application(); diff --git a/examples/tutorials/google_cloud_run.md b/examples/tutorials/google_cloud_run.md index 2936d8c80..a9e59dacb 100644 --- a/examples/tutorials/google_cloud_run.md +++ b/examples/tutorials/google_cloud_run.md @@ -31,7 +31,7 @@ To focus on the deployment, our app will simply be a `main.ts` file that returns a string as an HTTP response: ```ts title="main.ts" -import { Application } from "https://deno.land/x/oak/mod.ts"; +import { Application } from "jsr:@oak/oak"; const app = new Application(); diff --git a/examples/tutorials/prisma.md b/examples/tutorials/prisma.md index ff6913062..8662e5978 100644 --- a/examples/tutorials/prisma.md +++ b/examples/tutorials/prisma.md @@ -163,7 +163,7 @@ You should see something similar to the following screenshot: ## Create your API routes -We'll use [`oak`](https://deno.land/x/oak) to create the API routes. Let's keep +We'll use [`oak`](https://jsr.io/@oak/oak) to create the API routes. Let's keep them simple for now. Let's create a `main.ts` file: @@ -176,7 +176,7 @@ Then, in your `main.ts` file: ```ts import { PrismaClient } from "./generated/client/deno/edge.ts"; -import { Application, Router } from "https://deno.land/x/oak@v11.1.0/mod.ts"; +import { Application, Router } from "jsr:@oak/oak"; /** * Initialize. diff --git a/examples/tutorials/word_finder.md b/examples/tutorials/word_finder.md index 75521fe55..23a75dc71 100644 --- a/examples/tutorials/word_finder.md +++ b/examples/tutorials/word_finder.md @@ -41,7 +41,7 @@ export function renderHtml(pattern, words) { } searchResultsContent = `

Words found: ${words.length}

-