From 680e7a105daba584bc9a743e39e2cffcd6276e72 Mon Sep 17 00:00:00 2001 From: Andy Burke Date: Fri, 1 Aug 2025 20:12:39 -0700 Subject: [PATCH] fix: import the server correctly --- deno.json | 2 +- handlers/static.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/deno.json b/deno.json index 92b3242..828e7c8 100644 --- a/deno.json +++ b/deno.json @@ -1,7 +1,7 @@ { "name": "@andyburke/serverus", "description": "A flexible HTTP server for mixed content. Throw static files, markdown, Typescript and (hopefully, eventually) more into a directory and serverus can serve it up a bit more like old-school CGI.", - "version": "0.11.0", + "version": "0.11.1", "license": "MIT", "exports": { ".": "./serverus.ts", diff --git a/handlers/static.ts b/handlers/static.ts index c5fb74a..c034de0 100644 --- a/handlers/static.ts +++ b/handlers/static.ts @@ -6,7 +6,7 @@ import * as fs from '@std/fs'; import * as path from '@std/path'; import * as media_types from '@std/media-types'; -import { SERVER } from '@andyburke/serverus/server'; +import { SERVER } from '../server.ts'; let PUT_PATHS_ALLOWED: string[] | undefined = undefined; let DELETE_PATHS_ALLOWED: string[] | undefined = undefined;