2
1
mirror of https://github.com/Thream/api.git synced 2024-07-21 03:38:31 +02:00
api/src/index.ts

9 lines
229 B
TypeScript

import { application } from "#src/application.js"
import { HOST, PORT } from "#src/tools/configurations.js"
const address = await application.listen({
port: PORT,
host: HOST,
})
console.log(`Server listening at ${address}`)