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 - - + +