diff --git a/src/deps.ts b/src/deps.ts index d3091e1..fe6398b 100644 --- a/src/deps.ts +++ b/src/deps.ts @@ -50,4 +50,3 @@ export { generateSeededRsa } from 'https://gitlab.com/soapbox-pub/seeded-rsa/-/r export * as secp from 'npm:@noble/secp256k1@^1.7.1'; export { LRUCache } from 'npm:lru-cache@^10.0.0'; export { DB as Sqlite } from 'https://deno.land/x/sqlite@v3.7.0/mod.ts'; -export { serve } from 'https://deno.land/std@0.177.0/http/server.ts'; diff --git a/src/server.ts b/src/server.ts index c9d3f4f..d377d4a 100644 --- a/src/server.ts +++ b/src/server.ts @@ -1,6 +1,5 @@ import 'https://deno.land/std@0.177.0/dotenv/load.ts'; -import { serve } from '@/deps.ts'; import app from './app.ts'; -serve(app.fetch); +Deno.serve(app.fetch);