mirror of
https://github.com/MercuryWorkshop/scramjet.git
synced 2025-05-13 06:20:02 -04:00
use js function to encode
This commit is contained in:
parent
11a0c09179
commit
eebefbc070
7 changed files with 41 additions and 17 deletions
|
@ -49,6 +49,11 @@ fastify.register(fastifyStatic, {
|
|||
prefix: "/scram/",
|
||||
decorateReply: false,
|
||||
});
|
||||
fastify.register(fastifyStatic, {
|
||||
root: join(fileURLToPath(new URL(".", import.meta.url)), "./assets"),
|
||||
prefix: "/assets/",
|
||||
decorateReply: false,
|
||||
});
|
||||
fastify.register(fastifyStatic, {
|
||||
root: baremuxPath,
|
||||
prefix: "/baremux/",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue