Skip to content

Commit

Permalink
fix: jsr import
Browse files Browse the repository at this point in the history
  • Loading branch information
Atticus64 committed Aug 11, 2024
1 parent 65b9afb commit c09290c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions deno.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"tasks": {
"dev": "deno run --unstable --allow-env --allow-read --allow-net --watch src/main.ts",
"start": "deno run --unstable --allow-env --allow-read --allow-net src/main.ts",
"test": "deno test --unstable -A"
"dev": "deno run --unstable-kv --allow-env --allow-read --allow-net --watch src/main.ts",
"start": "deno run --unstable-kv --allow-env --allow-read --allow-net src/main.ts",
"test": "deno test --unstable-kv -A"
},
"importMap": "./import_map.json",
"fmt": {
Expand Down
2 changes: 1 addition & 1 deletion src/mod.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { Hono } from "hono";
import "https://deno.land/x/[email protected]/load.ts";
import { cors } from "hono/cors";
import { cors } from "jsr:@hono/hono/cors";
import router_book from "$/routers/book.ts";
import router_auth from "$/routers/auth.ts";
import router_notes from "$/routers/notes.ts";
Expand Down

1 comment on commit c09290c

@deno-deploy
Copy link

@deno-deploy deno-deploy bot commented on c09290c Aug 11, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Failed to deploy:

Relative import path "hono/validator" not prefixed with / or ./ or ../ and not in import map from "file:///src/src/routers/book.ts"

Please sign in to comment.