From 1ea21280f84231dfb27307c2523d0b563f5fa989 Mon Sep 17 00:00:00 2001 From: Percs <83934299+Percslol@users.noreply.github.com> Date: Sat, 13 Jul 2024 15:38:01 -0500 Subject: [PATCH] fix dev server (still no watch build) --- server.js | 4 +--- static/index.html | 8 ++++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/server.js b/server.js index 48fcb71..9e31a3f 100644 --- a/server.js +++ b/server.js @@ -15,8 +15,6 @@ import { epoxyPath } from "@mercuryworkshop/epoxy-transport" import { libcurlPath } from "@mercuryworkshop/libcurl-transport" import { bareModulePath } from "@mercuryworkshop/bare-as-module3" -let watcher = watch() - const bare = createBareServer("/bare/", { logErrors: true }); @@ -46,7 +44,7 @@ fastify.register(fastifyStatic, { }); fastify.register(fastifyStatic, { root: join(fileURLToPath(new URL(".", import.meta.url)), "./dist"), - prefix: "/dist/", + prefix: "/scram/", decorateReply: false }) fastify.register(fastifyStatic, { diff --git a/static/index.html b/static/index.html index 2259a5a..6bb820b 100644 --- a/static/index.html +++ b/static/index.html @@ -4,8 +4,8 @@ Document - - + +