mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
fix dev server (still no watch build)
This commit is contained in:
parent
c3db610837
commit
1ea21280f8
2 changed files with 5 additions and 7 deletions
|
@ -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, {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue