mirror of
https://github.com/morten-olsen/mini-loader.git
synced 2026-02-08 01:36:26 +01:00
13 lines
209 B
TypeScript
13 lines
209 B
TypeScript
import { http } from '@morten-olsen/mini-loader';
|
|
import fastify from 'fastify';
|
|
|
|
const server = fastify();
|
|
|
|
server.all('*', async (req) => {
|
|
return req.url;
|
|
});
|
|
|
|
server.listen({
|
|
path: http.getPath(),
|
|
});
|