mirror of
https://github.com/wkulhanek/bonob.git
synced 2025-12-21 17:33:29 +01:00
10 lines
250 B
TypeScript
10 lines
250 B
TypeScript
import express from 'express'
|
|
import {Express} from 'express-serve-static-core'
|
|
|
|
export async function createServer(): Promise<Express> {
|
|
const server = express()
|
|
server.get('/', (_, res) => {
|
|
res.send('Hello world!!!')
|
|
})
|
|
return server
|
|
} |