feat(web): port Fase 5 static file server w/ traversal protection; feat(grpc): port health stub
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
#!/usr/bin/env bun
|
||||
/**
|
||||
* Zesdex web server — standalone entry point.
|
||||
* Mirrors the `--web` mode of the Rust gateway.
|
||||
*/
|
||||
import { startWebServer } from "./index.ts";
|
||||
|
||||
const port = Number.parseInt(process.env.ZESDEX_WEB_PORT ?? "3000", 10);
|
||||
const staticDir = process.env.ZESDEX_WEB_DIR ?? undefined;
|
||||
startWebServer(port, staticDir);
|
||||
Reference in New Issue
Block a user