small changes

This commit is contained in:
Avad3 2024-07-12 18:01:34 -04:00
parent 30adf894aa
commit a0ef702b54
16 changed files with 124 additions and 113 deletions

View file

@ -15,7 +15,7 @@ const bare = createBareServer("/bare/", {
});
const fastify = Fastify({
serverFactory: (handler, opts) => {
serverFactory: (handler) => {
return createServer()
.on("request", (req, res) => {
if (bare.shouldRoute(req)) {
@ -59,6 +59,7 @@ const devServer = await context({
bundle: true,
sourcemap: true,
logLevel: "info",
format: "esm",
plugins: [
copy({
resolveFrom: "cwd",