forked from defunkt/toes
15 lines
321 B
TypeScript
15 lines
321 B
TypeScript
import { initApps } from '$apps'
|
|
import appsRouter from './api/apps'
|
|
import syncRouter from './api/sync'
|
|
import { Hype } from '@because/hype'
|
|
|
|
const app = new Hype({ layout: false })
|
|
|
|
app.route('/api/apps', appsRouter)
|
|
app.route('/api/sync', syncRouter)
|
|
|
|
console.log('🐾 Toes!')
|
|
initApps()
|
|
|
|
export default app.defaults
|