Buckets:
| // works on Node v14.13.0+ | |
| import { fastify } from '../fastify.js' | |
| const app = fastify({ | |
| logger: true | |
| }) | |
| const schema = { | |
| schema: { | |
| response: { | |
| 200: { | |
| type: 'object', | |
| properties: { | |
| hello: { | |
| type: 'string' | |
| } | |
| } | |
| } | |
| } | |
| } | |
| } | |
| app.get('/', schema, async function (req, reply) { | |
| return { hello: 'world' } | |
| }) | |
| app.listen({ port: 3000 }).catch(console.error) | |
Xet Storage Details
- Size:
- 433 Bytes
- Xet hash:
- 87534b907d5ed562bc5eae5ac8ea16fb473f491368036206e956faaf7d5d9f00
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.