download
raw
445 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:
445 Bytes
·
Xet hash:
0764f3c6c891320e43c948bed5ab84ea4f76621094420d5c4cad6cde0e2e8641

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