README
@forrestjs/service-fastify-static
https://github.com/fastify/fastify-static
DEMO:
https://codesandbox.io/s/service-fastify-static-6u8mm
Options:
setConfig('fastify.static', {
...options here
});
ForrestJS service which adds static content serving to a Fastify server.
<script type="module">
import forrestjsServiceFastifyStatic from 'https://cdn.skypack.dev/@forrestjs/service-fastify-static';
</script>
https://github.com/fastify/fastify-static
DEMO:
https://codesandbox.io/s/service-fastify-static-6u8mm
Options:
setConfig('fastify.static', {
...options here
});