download
raw
452 Bytes
'use strict'
const fastify = require('../fastify')({
logger: false
})
const schema = {
schema: {
response: {
200: {
type: 'object',
properties: {
hello: {
type: 'string'
}
}
}
}
}
}
fastify
.get('/', schema, function (req, reply) {
reply
.send({ hello: 'world' })
})
fastify.listen({ port: 3000 }, (err, address) => {
if (err) {
throw err
}
})

Xet Storage Details

Size:
452 Bytes
·
Xet hash:
e79a9bc46d2a17aac743af68bb69ec23f634e93923df11f712edc57259fd5f45

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.