toes/apps/basic/20260130-000000/index.tsx
2026-02-01 23:38:09 -08:00

17 lines
293 B
TypeScript

import { Hype } from '@because/hype'
const app = new Hype
app.get('/', c => c.html(<h1>Hi there!</h1>))
// Test crash - remove after testing
setTimeout(() => {
console.log('About to crash...')
throw new Error('Test crash!')
}, 3000)
const apps = () => {
}
export default app.defaults