fix: better handling of .spa file being in the root, improved code

path
This commit is contained in:
Andy Burke 2025-11-20 16:56:40 -08:00
parent 474d455986
commit 1220f1a370
3 changed files with 11 additions and 15 deletions

View file

@ -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.14.1",
"version": "0.14.2",
"license": "MIT",
"exports": {
".": "./serverus.ts",