2025-01-29 11:19:03 -05:00

9 lines
271 B
TypeScript

import { serveDir } from 'jsr:@std/http/file-server';
const server = Deno.serve({ port: 0 }, (req: Request) => {
return serveDir(req, {
fsRoot: '/Users/hk/Dev/others/excalidraw/excalidraw-app/build'
});
});
console.error('Server started at port', server.addr.port);