fix dev server (still no watch build)

This commit is contained in:
Percs 2024-07-13 15:38:01 -05:00
parent c3db610837
commit 1ea21280f8
2 changed files with 5 additions and 7 deletions

View file

@ -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, {