Skip to content

Commit

Permalink
refactor(api): import modules from jsr
Browse files Browse the repository at this point in the history
  • Loading branch information
emrahcom committed Sep 8, 2024
1 parent d8448f7 commit 487abd5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions api/jitok.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,10 @@
// ----------------------------------------------------------------------------
// jitok.ts
// ----------------------------------------------------------------------------
import { STATUS_CODE } from "https://deno.land/[email protected]/http/status.ts";
import { Algorithm } from "https://deno.land/x/[email protected]/algorithm.ts";
import {
create,
getNumericDate,
Header,
Payload,
} from "https://deno.land/x/[email protected]/mod.ts";
import { STATUS_CODE } from "jsr:@std/http/status";
import { Algorithm } from "jsr:@emrahcom/jwt/algorithm";
import { create, getNumericDate } from "jsr:@emrahcom/jwt";
import type { Header, Payload } from "jsr:@emrahcom/jwt";

const HOSTNAME = "0.0.0.0";
const PORT = 9000;
Expand Down

0 comments on commit 487abd5

Please sign in to comment.