Skip to content
Source
Sign inSign up
samwillis/neon-glow-demo
Open History to see the last commit

dev.ts

4 lines298 Bytes

1import { serve } from '@hono/node-server';
2import { assertSandboxEnvironment, handleInvocation } from './server.ts';
3assertSandboxEnvironment(process.env);
4serve({ fetch: handleInvocation, hostname: '127.0.0.1', port: 3002 }, () => console.log('Scoped Glow coding worker: http://localhost:3002'));