import { proxyRoute, initProxy } from '@kevisual/local-proxy/proxy.ts'; // http://localhost:4005/test/a/index.html initProxy({ pagesDir: './demo', watch: true, home: '/root/light-code-center', }); import { app } from './app.ts' import './routes/index.ts' app.listen(4005, () => { console.log('Server is running on http://localhost:4005') }) app.onServerRequest(proxyRoute); export { app }